Developer tool
Hash Generator
Create MD5, SHA-1, or SHA-256 hashes from UTF-8 text with hexadecimal or Base64 output.
About this tool
Turn text into a fixed-length digest
Hash functions transform any amount of input into a deterministic, fixed-length value. They are useful for integrity checks, cache keys, content fingerprints, test fixtures, and compatibility workflows.
SHA-256 is the strongest available choice in this tool and runs through the browser Web Crypto API. MD5 and SHA-1 are included for legacy interoperability with clear warnings about their known security weaknesses.
How it works
Create a text hash in three steps
- 1Enter your text
Type or paste any UTF-8 string, including emoji and international characters.
- 2Choose an algorithm
Select MD5, SHA-1, or SHA-256 and choose hexadecimal or Base64 output.
- 3Generate and copy
Create the digest, review its algorithm and length, then copy it.
Common questions
Hash Generator FAQ
Which hash algorithms are supported?
The tool supports MD5, SHA-1, and SHA-256. SHA-1 and SHA-256 use the browser Web Crypto API, while MD5 runs locally in JavaScript.
Can a hash be reversed?
A cryptographic hash is designed to be one-way, not decrypted. However, common input values can sometimes be discovered with dictionaries or brute force.
Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 have known collision weaknesses and remain useful mainly for legacy compatibility or non-adversarial checksums. Prefer SHA-256 for modern integrity work.
What text encoding is used?
Input is encoded as UTF-8 before hashing, so accented characters, emoji, and non-Latin writing systems produce consistent byte sequences.