Hash Generator
Compute a cryptographic hash of any text using MD5, SHA-1, SHA-256 or FNV-1a. Hashes are one-way fingerprints used for checksums, deduplication and integrity checks — computed instantly and privately in your browser.
What each field means
Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.
- Text
Text that you supply. The calculator works on exactly what you type.
- Uppercase
Choose one of the following: Yes, No.
Starts at: No
How to read your result
The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.
- Hash
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Algorithm
- This is text produced from your inputs. Copy it directly, or edit the inputs and the output will regenerate.
- Length
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Input length
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Algorithm
- This is text produced from your inputs. Copy it directly, or edit the inputs and the output will regenerate.
- Characters
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Quick reference
| Code | Meaning |
|---|---|
MD5 | A 128-bit digest shown as 32 hex characters. Broken for security, still fine for checksums. |
SHA-1 | A 160-bit digest shown as 40 hex characters. Also considered broken for security use. |
SHA-256 | A 256-bit digest shown as 64 hex characters. The usual choice for passwords and files. |
SHA-512 | A 512-bit digest shown as 128 hex characters. Slower, and rarely needed outside specialist work. |
Hex | Each byte becomes two hexadecimal characters, so the digest length doubles in the output. |
Salt | Hashing alone does not protect a password. A unique salt per user is required. |
What this means
A hash is a fixed-length fingerprint of your data. Change one character and the whole hash changes, which is why hashes verify file integrity and stored passwords.
How we calculate it
Formula
Deterministic algorithms over UTF-8 bytes: MD5 → 32 hex chars, SHA-1 → 40, SHA-256 → 64, FNV-1a → 8.Worked example
Hash the word 'password':
- 1Type or paste your text.
- 2Choose an algorithm.
- 3Copy the resulting hash.
Important assumptions
- MD5 and SHA-1 are fast but not suitable for password storage; use SHA-256 for new work.
Frequently asked questions
Is MD5 secure?
MD5 has known collisions, so it is fine for checksums but not for security-sensitive use like password hashing.
Can hashes be reversed?
No. Hashing is one-way. Attackers only reverse weak hashes by guessing inputs and comparing — use strong algorithms and long secrets.
Related tools
JSON Formatter
Format, minify and validate JSON with one click.
Base64 Encoder
Encode any text, including Unicode, to Base64.
Base64 Decoder
Decode Base64 strings back to readable text.
Regex Tester
Test regular expressions against text with live matches.
URL Encoder
Encode text for safe use inside URLs and query strings.
URL Decoder
Decode percent-encoded URLs back to readable text.