Gerador de hash
Calcula SHA-1, SHA-256, SHA-384 e SHA-512 a partir de texto ou arquivos
Text input
Hashes update automatically as you type. Uploading a file hashes raw bytes instead (shown below).
Compare hashes
Paste two hex digests (spaces ignored, case-insensitive). Useful for verifying downloads.
Compute cryptographic hashes without uploading anything
SHA-256 is everywhere — verifying downloads, signing payloads, comparing files. Computing a hash in the browser keeps the input on your machine via the Web Crypto API, so you can hash sensitive text or large files locally without trusting a server. The tool also supports SHA-1, SHA-384, and SHA-512 for legacy and high-security needs.
Use the generator when you need to
Verify a download against a published checksum
Hash the file and compare against the project's listed SHA-256 to confirm integrity.
Generate a deterministic identifier
Hash a canonical payload to produce a stable ID for caching, deduplication, or content addressing.
Sanity-check a webhook signature
Compute the expected hash of a payload to validate against the signature header from the upstream service.
How to hash text or files quickly
- 1
Paste the text you want to hash, or click Hash file and select a file.
- 2
Pick the algorithm (SHA-1, SHA-256, SHA-384, or SHA-512).
- 3
Copy the resulting hex digest, or use the compare tool to verify against a published checksum.
Keep going
Generate random IDs
Pick UUIDs when you want randomness rather than a deterministic hash.
Encode hash output as Base64
Convert hex digests to Base64 when an API expects them in that form.
Decode signed JWTs
Inspect token signatures alongside hashing utilities when debugging auth.
Validate signed payloads
Confirm the JSON you're hashing is well-formed before computing a digest.
Common hashing workflows
Hash the downloaded file and compare against the project's published checksum before installing.
Hash the canonical payload locally to confirm what the upstream signature should be.
Use the hash of canonical content to identify duplicates without storing the documents themselves.
Ferramentas relacionadas
Perguntas frequentes
A ferramenta usa a Web Cryptography API para calcular digests SHA-1, SHA-256, SHA-384 e SHA-512. MD5 não está disponível porque não é exposto pelo Web Crypto nos navegadores.
Clique em Hash file e selecione um arquivo. O digest é calculado a partir dos bytes brutos. Se você editar o campo de texto, a ferramenta volta a calcular o hash do conteúdo textual.
Cole duas strings hex em Hash A e Hash B. A ferramenta normaliza espaços e maiúsculas/minúsculas e então indica se são iguais — útil para verificar downloads contra um checksum publicado.
Não. O conteúdo do arquivo é lido com FileReader e processado apenas no seu navegador usando crypto.subtle.digest.