Checksum Generator
Generate SHA cryptographic checksums for text validation.
Four SHA checksums for one piece of text
A checksum is a short fingerprint of some data. Change a single character and the fingerprint changes completely, which makes checksums useful for confirming that two copies of a string are identical. This tool takes the text you enter and produces its SHA-1, SHA-256, SHA-384 and SHA-512 digests together in one table, so you can compare against a published value or drop the digest you need into a config file.
Getting your checksums
- Type or paste text into the Input Data area. Sample fills in the classic sentence about a quick brown fox and a lazy dog, and Clear empties the box.
- Press Process Now.
- A results panel lists each algorithm alongside its lowercase hexadecimal digest.
- Use Copy to copy the whole table as text, or Download to save it as a file named result.txt.
Editing the input hides the previous results so a stale table cannot be mistaken for the current one. Pressing the button on an empty box shows an error asking you to enter text.
How the digests are computed
The page uses the browser's built-in Web Crypto interface to hash your text, encoded as UTF-8 bytes. Each algorithm is run separately and the byte output is converted to hex. The digest lengths are 40 characters for SHA-1, 64 for SHA-256, 96 for SHA-384 and 128 for SHA-512.
When to use it
- Comparing a short string, such as an API payload, against a digest published in documentation.
- Generating a SHA-256 value for a config file, test fixture or webhook example.
- Showing students how the output length depends on the algorithm while the input barely changes.
- Checking that text has not been altered by an editor that quietly trims spaces or converts line endings.
Limits worth knowing
This tool checksums text typed or pasted into the box. It has no file upload, so it cannot verify the checksum of a downloaded installer or ISO image. It also does not offer MD5; there are separate tools for that. Trailing spaces and line breaks are part of the input, so a hidden newline at the end of pasted text will produce a different digest than the same words without it. This is the most common reason two checksums fail to match.
SHA-1 is included for compatibility, but it is no longer considered collision-resistant and should not be chosen for new security designs. Prefer SHA-256 or stronger. The Web Crypto interface generally requires a secure page (HTTPS), so if a hash never appears, check that you are on the secure address.
Related Articles
Related Tools