PlanetToolbox
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files locally in your browser.
Algorithm
SHA-256
Format
HEX
Source
Text
Bytes
13
Hash inputs
Generate hashes locally
Hash result
Hash input summary
- File
- No file selected
- Security note
- Hashes are one-way fingerprints, not encryption.
Hash algorithms, checksums, and file integrity
Hash functions turn text or file content into repeatable fixed-length digests for comparison, checksums, and integrity checks.
Hash output lengths
- MD5 produces a 32-character hexadecimal digest.
- SHA-1 produces a 40-character hexadecimal digest.
- SHA-256 produces a 64-character hexadecimal digest.
- SHA-384 produces a 96-character hexadecimal digest.
- SHA-512 produces a 128-character hexadecimal digest.
Text and file checks
A small change in text or file content should produce a very different hash. That makes hashes useful for comparing whether two inputs are exactly the same.
Security-sensitive use
MD5 and SHA-1 are useful for older compatibility checks, but they should not be chosen for new security-sensitive workflows. Prefer SHA-256 or stronger algorithms when the hash matters for integrity.
Common workflows
- Compare a downloaded file to a published checksum.
- Check whether two text blocks or files are identical.
- Generate cache keys for non-secret content.
- Create repeatable digests for development and testing workflows.
Hash generator notes
Hashes are useful for checksums, integrity checks, cache keys, and comparing files or text. MD5 and SHA-1 are included for compatibility checks, but modern security-sensitive workflows should prefer SHA-256 or stronger algorithms.
Frequently asked questions
What hash algorithms are supported?
The generator supports MD5, SHA-1, SHA-256, SHA-384, and SHA-512 for text and local file inputs.
Are files uploaded to generate hashes?
No. File hashes are calculated locally in your browser, so the selected file is not uploaded to PlanetToolbox.
Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 are included for compatibility checks. For modern integrity checks, prefer SHA-256 or stronger algorithms.
What are hashes used for?
Hashes are commonly used for file integrity checks, checksums, cache keys, data comparison, and verifying that text or files have not changed.
Related tools
Continue with practical tools that answer similar questions.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to UTF-8 text with standard and URL-safe output options.
URL Encoder / Decoder
Encode URLs, URL components, and query values or decode percent-encoded URL text locally in your browser.
UUID Generator / UUID Batch Generator
Generate random UUID v4 batches in standard, uppercase, compact, brace-wrapped, plain-list, JSON, or CSV output formats.
Password Generator
Generate strong random passwords with batch output, custom symbols, character-set controls, ambiguous-character filtering, and entropy estimates.