← Passwords & security

Password / security tools

Hash generator

Generate SHA-256, SHA-384 or SHA-512 hashes from UTF-8 text.

Runs in your browser

UTF-8 text, up to 1 MiB. Empty text is accepted.

A hash is a fingerprint of the exact UTF-8 input. Spaces and line breaks matter. SHA-256, SHA-384 and SHA-512 are available. These fast hashes alone are unsuitable for storing passwords; use a dedicated password hashing scheme for that purpose.

Practical guide

Create a SHA-256, SHA-384 or SHA-512 digest of UTF-8 text. A digest helps compare exactly the same input; it is not encryption and does not provide a way to recover the original text.

Steps that matter

  1. Enter the exact text, including intentional spaces and line breaks.
  2. Choose the algorithm agreed with whoever will compare the digest.
  3. Generate and compare the complete digest, not just its first few characters.

Worked example

SHA-256 of the three characters abc, without a trailing newline, is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. Adding a space changes the input and its digest.

Check before using the result

  • This tool hashes text, not an uploaded file. Copying file contents as text can change their bytes and will not reliably reproduce a file checksum.
  • A plain SHA digest is not an appropriate password-storage scheme. Matching hashes only prove a comparison if the expected value comes from a trusted source.