Skip to main content

Computes text digests in UTF-8, supporting SHA-256, SHA-512, SHA-1, and MD5. Examples of empty strings and line breaks are provided to facilitate troubleshooting problems with the same text but different summaries.

In UTF-8 terms, spaces and newlines will change the summary. MD5/SHA-1 is not suitable for security against tampering; none of these quick digests are suitable for saving passwords.

5 / 100,000 characters

Shortcut key: Ctrl/⌘+Enter. Modifying inputs or options clears old results.

Instructions for use

  1. Paste the original text and select a summary algorithm.
  2. Keep the spaces and line breaks that need to be included in the calculation, and click Process.
  3. Copy the summary, making sure both sides use the same algorithm and byte encoding.

Input and output examples

Example input
hello (SHA-256, no newline)
Example output
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

If you add a newline after hello, the summary will be different.

FAQ

Hash is not a reversible encryption and has no universal decryption operation. But short passwords can be guessed and compared one by one, so summarizing does not mean hiding weak passwords.

None of these quick digests are suitable for saving passwords directly. MD5 and SHA-1 are reserved for legacy system compatibility purposes only and should not be used for security against tampering.

Calculation basis and reference materials

Computes the selected digest over the full UTF-8 text bytes, including whitespace and newlines. The SHA series uses the browser digest interface, and MD5 uses local implementation; digests can only be compared according to the same encoding and algorithm.

Content check: · About this site and content description

Related tools