Hash and UUID generator that works on your device
Paste text or drop a file to get its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once, check them against a published checksum, and generate up to 100 version 4 UUIDs. Everything is computed in your browser, so nothing you enter is uploaded.
0 bytes · 0 characters
Hashed as UTF-8, exactly as typed: no newline is added at the end.
Digests
Random UUIDs
Version 4 UUIDs: 122 random bits each, drawn from your browser's cryptographically secure random number generator. Nothing is stored, so refresh the page and they are gone.
The five digests at a glance
How long each digest is in bits, in hex characters and in Base64 characters, and where each one still belongs.
| Algorithm | Bits | Hex | Base64 |
|---|
Questions
Built by Mohd Shayan. Found a problem or have an idea? Send a note.
Is my text or file uploaded?
No. The SHA digests come from your browser's own Web Crypto API and MD5 is computed by plain JavaScript on this page, so the page makes no network request with your data. A file is read into memory on your device and hashed there. You can load the page, go offline, and it still works.
Why does my hash differ from the terminal or another tool?
Almost always a newline or an encoding. This tool hashes exactly the bytes you typed, as UTF-8, with nothing added: the MD5 of hello is 5d41402abc4b2a76b9719d911017c592. But echo hello | md5sum hashes hello plus a newline and gives b1946ac92492d2347c6235b4d2611184. Use printf '%s' hello | md5sum or echo -n to match. Windows line endings, a trailing space, a byte-order mark or a different encoding such as UTF-16 change the digest in the same way.
Is MD5 still safe to use?
It depends on the job. As a checksum, to spot a corrupted download, a failed copy or a duplicate file, MD5 is fine: an accidental change will not produce the same 128-bit digest. It is not safe where someone could choose the input, because collisions (two different files with one MD5) can be made to order, so it should not stand behind signatures, certificates or software updates; use SHA-256 there. And no fast hash, MD5 or SHA-256, should ever store a password: a graphics card tries billions of guesses a second, so a leaked table of MD5 passwords is cracked in hours. Passwords belong in a slow, salted algorithm built for them, such as bcrypt, scrypt or Argon2.
How do I check a downloaded file against a published checksum?
Drop the file into the tool, then paste the checksum from the download page into Compare with a known hash. The tool says which algorithm it matches, whatever its case, and it understands whole lines copied from sha256sum or shasum output, such as d7a8fb... installer.iso. A match means the file arrived byte for byte as published. No match means the file is damaged, altered or a different version, so do not run it until you know why.
What is a version 4 UUID, and could two ever be the same?
A UUID is a 128-bit identifier written as 32 hex digits in five groups, such as 3f2504e0-4f89-41d3-9a0c-0305e82c3301. Version 4 means the value is random: six bits are fixed to mark the version (the 4 at the start of the third group) and the variant (8, 9, a or b at the start of the fourth), and the other 122 come from your browser's cryptographically secure random number generator. A repeat is possible in theory but not in practice: you would have to generate about 2.7 quintillion UUIDs before the odds of a single duplicate reached 50%, so they are safe to use as database keys and file names without checking.
More free tools
All toolsJSON Formatter
Pretty-print, minify, validate and sort JSON, with the first error pinpointed by line and column. Nothing is uploaded.
Base64 & URL Encoder
Base64, URL encoding, HTML entities and hex, both directions and UTF-8 correct, with URL-safe Base64 and padding options.
deAIfy
Strip em dashes, curly quotes, hidden characters and stock AI phrases from any text, with a live diff of every change.
Commission Calculator
Flat or tiered plans with base pay and splits, plus a reverse mode that finds the sales needed to hit a target.