Encoding & Decoding

Hash Generator - SHA Digests and Compare

Compute SHA-1, SHA-256, SHA-384, and SHA-512 digests for text or local files, with optional HMAC mode and hash comparison. Uses Web Crypto in the browser for checksum and signing checks.

HashSHADigest

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Compute SHA digests for text
  • Check integrity of a local file
  • Debug HMAC values used by API signatures

How to use

  1. Enter text or choose a local file
  2. Optionally enable HMAC and enter a key
  3. Review each algorithm and paste an expected value to compare if needed

Example input and output

Text

hello

SHA-256

2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

FAQ

Is MD5 supported?

No. This tool uses Web Crypto SHA-1 and SHA-2 algorithms. For broader file checksum options, see the File Checksum tool.

How does HMAC mode relate to the dedicated HMAC generator?

This page can output multiple hash algorithms and optional HMAC together. The HMAC generator focuses on message/key signing with Hex and Base64 outputs.

Tools

Related tools

Continue with another translated tool for a nearby task.

HMAC Generator

HMAC Generator - API Signature Digests

Available

Generate an HMAC locally from a message and key with SHA-1/256/384/512, outputting Hex and Base64. Useful for API signing and webhook verification checks.

HMAC Signature Hash

File Checksum

File Checksum — Local SHA-256 / 384 / 512 Digests

Available

Compute SHA-256, SHA-384, and SHA-512 digests for selected files entirely in the browser. File contents are not uploaded. Useful for verifying downloads, images, and release artifacts against published checksums.

Checksum Hash Files

Base64 Encode/Decode

Base64 Encoder and Decoder

Available

Encode and decode Base64 in the browser, with standard and URL-safe variants, automatic direction detection, and optional file-to-Base64 conversion. Useful for API debugging and local data prep.

Base64 Encoding Developer