Checksums and hashes
Get MD5, SHA-1, SHA-256, SHA-512 and an integrity attribute from text or a file.
- Category
- For developers
- Price
- free
The tool starts in your browser.
Everything is calculated in your browser. Nothing you type is sent to our server.
How to use it in three steps
The tool as a schematic with this page's example. Each step's number stands where you take it: in the fields, at the result or outside the tool.
Type text or choose a file.
Read the MD5, SHA-1, SHA-256 and SHA-512.
Compare it with the author's checksum or copy the integrity attribute.
The MD5 of VulCode and the trap of a line break
A hash is computed from bytes, not letters. One invisible character at the end gives an entirely different result, which is why the tool has a line break toggle for what echo adds. The result is computed by the same function the tool at the top of the page uses, every time the page is shown.
You type
- Text
- VulCode
- A line break at the end
- off
UTF-8 bytes
- Bytes
- 56 75 6c 43 6f 64 65
The text becomes UTF-8 bytes: 7 letters are 7 bytes, as there are no accented letters here.
MD5
- MD5
- 57d076d4e63136ff31b51863d927b685
MD5 always gives 16 bytes, written as 32 hexadecimal characters.
The same text with a line break
- Bytes
- 56 75 6c 43 6f 64 65 0a
- MD5 with a line break
- 485f1ab893fe7f4bc7f2f7515d69aa11
echo in a terminal adds a newline, the byte 0a. The whole hash changes, not just its end.
MD5
- The tool also gives SHA-1, SHA-256, SHA-384 and SHA-512, computed by the browser's WebCrypto
57d076d4e63136ff31b51863d927b685Questions
Related tools
The tool does one job. If the same thing should happen automatically in your bot, server or system, we build it.
Missing a tool you need?
Tell us what you want to calculate or generate. We will tell you whether a tool is enough or an integration in your system fits better.