MD5 and SHA Hash Generator
Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text in one step. All five results show together, so you can copy the one you need.
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text or file. Instant, free and no signup.
Type some text or choose a file to see the hashes.
—————Type or paste text, or switch to File and choose any file up to 100 MB.
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 appear at the same time.
Copy one hash or all of them, in lowercase or UPPERCASE.
Looking for a fast, free hash generator that works right in your browser? Our online hash generator creates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text or file in a single step, with no signup and no software to install. Type some text or drop a file and all five hashes appear at once, ready to copy in lowercase or UPPERCASE. It works as an MD5 hash generator, a SHA-256 hash generator and a file checksum calculator in one page.
This free checksum generator was designed for everyday use. Maybe you downloaded an installer and want to compare its SHA-256 value with the one on the publisher page, you need an MD5 of a string for a test, or you want to confirm that two files are identical. In each case a good online hash calculator is the quickest solution. Because everything runs in your browser, your data stays on your device, and the tool works on Windows, Mac, Linux, Android and iPhone.
Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text in one step. All five results show together, so you can copy the one you need.
Choose any file up to 100 MB and get its checksum to verify a download, compare two files or confirm that a copy is exact.
Hashes are calculated inside your browser. Your text and files are never uploaded, stored or shared with a server.
A hash generator is an online tool that turns any text or file into a short, fixed-length string of letters and numbers called a hash, digest or checksum. The same input always gives the same hash, but even a one-character change gives a completely different result. A hash is also one-way: you can create it from the data, but you cannot turn it back into the original data.
These properties make hashes useful in many places. Websites use them to check that a download is not corrupted, developers use them to compare files and build cache keys, and security systems use them as part of signatures and password storage. That is why searches such as md5 hash generator, sha256 hash generator, checksum calculator and online hash generator are so common.
You do not need a command line or a script to create a hash. Follow these steps.
If your hash is part of an encoded value, you can also use the Base64 encoder and decoder or the JWT decoder to read the data around it.
The algorithms differ in output size and in how safe they are today. The table below gives a quick comparison.
| Algorithm | Output size | Hex length | Status | Good for |
|---|---|---|---|---|
| MD5 | 128 bits | 32 characters | Broken for security | Simple checksums and non-security uses |
| SHA-1 | 160 bits | 40 characters | Deprecated for signatures | Legacy systems and older checksums |
| SHA-256 | 256 bits | 64 characters | Strong and widely used | Downloads, integrity checks, general use |
| SHA-384 | 384 bits | 96 characters | Strong | Higher security margins |
| SHA-512 | 512 bits | 128 characters | Strong | Large data and systems that prefer 64-bit math |
For anything where an attacker could tamper with the data, choose SHA-256 or stronger. MD5 and SHA-1 still work as quick checks for accidental corruption, but researchers have shown ways to create two different inputs with the same MD5 or SHA-1 hash.
This example shows what real output looks like. The input is the five lowercase letters hello with no space or line break after them.
| Algorithm | Hash (lowercase) |
|---|---|
| MD5 | 5d41402abc4b2a76b9719d911017c592 |
| SHA-1 | aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d |
| SHA-256 | 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 |
Type the same word in the tool and you should see these exact values. Now add a space or a line break after the word and watch every hash change.
Software publishers often list a SHA-256 or MD5 checksum next to a download. Checking it proves that the file was not damaged in transit and, if the checksum comes from a trusted page, that it is the file the publisher meant to share.
A matching checksum proves the file is intact. It does not prove that the file is safe, so only trust checksums published on the official site.
No. Encryption is two-way: data is locked with a key and can be unlocked again. Hashing is one-way: there is no key and no way to get the original data back. A hash cannot be decoded, although short or common inputs such as simple passwords can sometimes be guessed by trying many candidates. For passwords, real systems use slow, salted algorithms such as bcrypt, scrypt or Argon2 rather than a single fast hash like MD5 or SHA-256.
If your hash does not match the one you expected, one of these causes is usually the reason.
| Problem | Likely cause | How to fix it |
|---|---|---|
| Different hash for the same text | An extra space, tab or line break at the end | Remove hidden whitespace. A hash covers every character. |
| Different line endings | Windows (CRLF) and Mac or Linux (LF) line endings are different bytes | Use the same line ending as the source of the expected hash. |
| File hash does not match | The download is incomplete or corrupted | Download the file again and compare once more. |
| Wrong length | You are comparing a different algorithm | Check the length: 32 is MD5, 40 is SHA-1, 64 is SHA-256. |
| Letters look different | One hash is uppercase, the other lowercase | Switch the output case. The value is the same. |
| Text hash differs from a file hash | A text box and a saved file may contain different bytes | Hash the file itself with the File tab. |
This tool calculates plain hashes. It does not create HMAC values, which need a secret key, so a signature from an API will not match a plain SHA-256 of the same text.
Our hash generator runs in your web browser, so you can create an MD5 or SHA-256 hash on Android, iPhone, Windows, Mac and Linux without installing anything. On Windows you would otherwise use certutil or PowerShell, and on Mac or Linux the md5sum or shasum command. Here you open the page, add your text or file and copy the result, with the same steps in every modern browser.
Your text and files are processed inside your browser and are not uploaded or stored on a server. Even so, remember that a hash of a short or common value can often be guessed, so do not treat hashing as a way to hide secrets, and avoid pasting real passwords or private keys into any online tool.
Creating a hash is often one step in a bigger workflow. These related free tools make the rest of the job easier:
Our free hash generator was built to make it simple for everyone to create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes. If you want an online hash calculator and file checksum tool with no signup, no installation and no uploads, this page gives you exactly that. Add your text or file and copy a result in a second.
Answers to common questions about MD5, SHA-256, file checksums and how this hash generator works.
Type or paste your text into the Text tab, or choose a file in the File tab. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 are calculated at the same time and shown right away. Click Copy next to the one you need, or Copy all. It is a free hash generator with no signup.
The tool supports MD5, SHA-1, SHA-256, SHA-384 and SHA-512. All five are calculated together, so you can compare them or copy whichever one a system asks for. You can show the results in lowercase or UPPERCASE.
Yes. Switch to the File tab, choose a file of up to 100 MB, and the hashes are calculated in your browser. Compare the result with the checksum from the publisher, character by character, to verify that the download is complete and not corrupted.
No. The hashes are calculated locally in your browser, so your text and files are not sent to a server or stored. When you close or refresh the page the data is gone. As a general habit with any online tool, avoid pasting real passwords or private keys.
MD5 is fine for simple checksums where nobody is trying to tamper with the data, for example to spot an accidental copy error. It is not safe for passwords, digital signatures or anything security-sensitive, because different inputs with the same MD5 can be created. Use SHA-256 or stronger for those cases.
No. Hashing is a one-way function, so a hash cannot be mathematically decoded. Short or common inputs can sometimes be guessed with lookup tables or by trying many candidates, which is why passwords should be stored with a slow, salted algorithm such as bcrypt or Argon2.
A hash covers every byte of the input, including spaces, tabs and line breaks. One extra space or a different line ending, such as Windows CRLF instead of LF, creates a completely different result. If a hash does not match, check for hidden whitespace first.
Create hashes here, then use the Base64 encoder and decoder, the JWT decoder, the URL encoder or the JSON formatter in seconds. Explore free developer tools to format, convert and debug your data in one place.
Explore All Developer Tools →