Skip to main content
eyunzhu

Text hash calculator

Calculate SHA-256, SHA-384, SHA-512, SHA-1 and MD5 hashes of UTF-8 text, with a copy button for each result.

Updates as you type or change an option

Result

Enter some content to see the result

MD5 and SHA-1 are for legacy checksum comparisons, not security signatures.

Advanced options
Processed in this browser. Nothing is uploaded or saved.

About this tool

Check the exact text used by a signature or test fixture. Use the file checksum checker when you need to compare original file bytes without text-editor changes.

How to use

Type text or open a UTF-8 file to update its hashes. Spaces, line endings and letter case are part of the input. Even an empty string has a defined digest.

All algorithms are available over HTTPS; plain HTTP provides SHA-256 and MD5. Use MD5 and SHA-1 only when comparing legacy checksums, not for security signatures. Text is processed locally and may be up to 2 MiB.

The initial empty input intentionally shows no result. To check the digest of an empty message, use the explicit empty-message action in Advanced. Spaces and line breaks are still meaningful input.

Common questions

How do I calculate the hash of an empty string?

The initial empty field intentionally has no result. Open Advanced and choose the empty-message action. Spaces and line breaks are meaningful input, not an empty string.

Why does the same-looking text produce a different hash?

Letter case, trailing spaces, line endings and a BOM can change the UTF-8 bytes. Compare the exact input; for an original file checksum, use the file checker instead of copying its text.

Which hash should I compare with a published checksum?

Use exactly the algorithm named by the source. SHA-256 and MD5 outputs are not interchangeable. MD5 and SHA-1 are for legacy comparisons here, not password storage or proof of authenticity.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.