Hash Calculator
Compute MD5, SHA-256, SHA-512 and CRC32 for text or files — and verify published checksums locally.
Files and text are never sent to a server. All hashing runs in your browser.
Hashes change with trailing newlines and character encodings. When verifying a value computed in another encoding, make sure you select the same one.
What is this tool?
A free hash calculator that computes MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 at once for any text or file up to 256MB. Paste a published checksum to verify a match instantly.
How to use
- Choose Text or File and provide your input.
- All supported algorithms are computed automatically.
- Copy any result, switch between hex and Base64, or paste an expected hash to verify.
Use cases
- Verifying a downloaded file against a published SHA-256 checksum.
- Computing hashes for cache keys or content addressing.
- Checking text digests across encodings while debugging.
Notes
- All computation happens locally; files never leave your device.
- SHA algorithms require a secure context (HTTPS or localhost).
FAQ
Are my files uploaded?
No. Files are read by your browser and hashed locally. Nothing is sent to a server — you can verify this in the network tab of your developer tools.
Why does the same text give a different hash elsewhere?
Hashes depend on the exact bytes. Trailing newlines and character encodings (UTF-8 vs UTF-16LE) change the result, so check those settings when verifying a published checksum.
Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 are marked as having weak collision resistance and should only be used to verify legacy checksums, never for security purposes. Prefer SHA-256 or SHA-512.
Related tools
Days Calculator
Calculate the number of days between two dates, or the date N days from now.
Age Calculator
Calculate exact age from a date of birth, including days lived and next birthday.
Business Days Calculator
Count business days excluding weekends and Japanese national holidays.
Character Counter
Count characters, lines, paragraphs and bytes of text in real time.
PDF Tools
Merge, extract and rotate PDF pages locally in your browser.
Markdown Editor
Write Markdown with live preview, HTML copy and .md download.
Scientific Calculator
Trigonometry, logarithms, exponents, factorials, history and memory.
Unit Converter
Convert length, weight, area, volume, temperature and data size.
Timestamp Converter
Convert between Unix timestamps, ISO 8601 and local date-times.
Percentage Calculator
Percentages, increase/decrease rates, discounts and reverse calculation.
Image Compressor
Compress JPEG, PNG and WebP images in bulk, entirely in your browser.
Image Converter
Convert between HEIC, JPEG, PNG, WebP and more without uploading files.
QR Code Generator
Create QR codes for URLs, text and Wi-Fi credentials in your browser.
Color Palette Extractor
Extract color palettes from images and copy them as CSS variables.
Password Generator
Generate strong passwords, passphrases and PINs locally.
HMAC Checker
Compute HMAC signatures and verify webhook signatures in your browser.
Web Page Snapshot
Save the current page as a single self-contained HTML file.
Clipboard Cleaner
Clean invisible characters, extra line breaks and width inconsistencies.
Speed Test
Measure download/upload speed and ping in your browser.
Network Diagnosis
Check connectivity, DNS, IPv6 and the node you are connected through.
JSON Formatter
Format, validate and minify JSON with precise error locations.
URL Encoder / Decoder
Encode and decode URLs and query strings, including non-ASCII text.
Regex Tester
Test regular expressions with live matches, groups and replacement.
Line of Code Counter
Count total, blank, comment and code lines of pasted source code.
DNS Lookup
Query DNS records (A, AAAA, MX, TXT and more) with TTLs, DNSSEC and ASN hints.
CSV Checker & Converter
Check CSV/TSV structure, detect encoding (UTF-8, BOM, Shift_JIS) and convert to JSON.
Text & JSON Diff Checker
Compare two texts or JSON documents and review additions, deletions and changes in your browser.