Hash Generator
Generate MD5 and SHA digests from text locally in your browser
MD5 and SHA-1 are provided for checksums and legacy compatibility — do not use them for password storage or security-sensitive integrity checks. Prefer SHA-256 or stronger.
Accepted upload: .txt · max 5 MB. Hashes are computed locally with Web Crypto (MD5 runs in-browser).
Input
Hashes update as you type — or press Generate
Hash comparison
MD5, SHA-1, SHA-256, SHA-384, and SHA-512
No hashes yet
Enter text or load the sample to generate digests for all supported algorithms.
About this hash generator
Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 digests from UTF-8 text with live debounced updates. The tool warns that MD5 and SHA-1 are weak for security-sensitive uses and is not meant for password storage on its own. Input supports up to 5 MB.
How to use
- Paste or type text (or provide content up to the 5 MB UTF-8 limit).
- Wait briefly for debounced hashes to appear for each algorithm.
- Read warnings for MD5 and SHA-1 when shown.
- Copy individual digests as needed for checksums or debugging.
Hashes vs encryption
Cryptographic hashes map input to a fixed-length fingerprint. They are one-way: you cannot recover the original text from the hash. SHA-256 and SHA-512 are common for integrity checks today; MD5 and SHA-1 remain for legacy compatibility but should not be used for new security designs.
Common uses
- Verify file or config checksums during development.
- Compare digest outputs with CLI tools like openssl or shasum.
- Demonstrate how small input changes alter the hash completely.
Tips
- For passwords, use dedicated password hashing (bcrypt, Argon2)—not raw SHA-256 alone.
- Ensure the same encoding (here UTF-8) when comparing with other systems.
- Large inputs near 5 MB may take a moment; avoid hammering paste while debounce runs.
Privacy
Hashing runs entirely in the browser. Your text is not sent to ToolsArk to compute digests.
Limitations
- UTF-8 text only in this UI—not direct binary file hashing unless you paste encoded content.
- 5 MB maximum input size.
- Provides digests only; no HMAC keys, salting, or password-strength enforcement.
Frequently asked questions
Common questions about the Hash Generator.
How does Hash Generator work?
Enter or upload text and generate digests. ToolsArk computes MD5, SHA-1, SHA-256, SHA-384, and SHA-512 as lowercase hex in one pass. SHA algorithms use Web Crypto; MD5 uses a local RFC 1321 implementation.
Does my text leave my device?
No. Hashing runs in your browser. ToolsArk does not upload your text to a hashing API.
Should I use MD5 or SHA-1 for passwords?
No. MD5 and SHA-1 are fine for casual checksums and legacy compatibility, not for storing passwords. Prefer SHA-256 or stronger for integrity checks, and a dedicated password-hashing scheme (such as Argon2 or bcrypt) for credentials — those are outside this tool.
What are the size limits?
Input is limited to about 5 MB of UTF-8 text. Upload accepts .txt files within that limit. This tool hashes text content, not arbitrary binary files as opaque blobs.
Can I copy or download results?
Yes. Copy an individual digest or all digests, or download a labeled text file of the results.
Tags
Continue with these utilities
People frequently use these utilities together.