All Tools Store
Runs in your browser

Hash generator

Computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 for text or a file at once, and tells you whether a hash you already have matches.

Digests

Everything is computed in your browser; neither your text nor your file is sent to a server. MD5 and SHA-1 are not suitable for security — practical collisions exist — though they remain common for checking downloads. Prefer SHA-256 or stronger for anything that matters.

How to use

  1. Type your text in the box, or pick a file with Choose a file.
  2. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 are computed at the same time.
  3. Press Copy next to the one you need; tick the uppercase option if required.
  4. If you already have a hash, paste it into the box at the bottom and the tool says which algorithm matches.

What a hash is

A hash is a one-way function that turns data of any length into a fixed-length "fingerprint". Three properties make it useful:

The fourth and most important property is that it's one-way: recovering the input from the output isn't practical. That's why a hash is not encryption — encryption can be undone, hashing can't.

Which algorithm, and when

AlgorithmLengthStatusUsed for
MD5128 bit · 32 charsBroken for securityFile integrity, legacy systems
SHA-1160 bit · 40 charsBroken for securityGit commit ids, old signatures
SHA-256256 bit · 64 charsSecureThe default choice: signatures, certificates, blockchain
SHA-384384 bit · 96 charsSecureTLS certificates
SHA-512512 bit · 128 charsSecureWhere a longer digest is wanted

"Broken" means two different inputs can be made to produce the same digest — a collision. For MD5 that takes seconds on an ordinary computer, and it has been demonstrated for SHA-1 too. For anything new, choose SHA-256.

MD5 still has a job: it's good enough to tell whether a download got corrupted. What it can't do is stand up to someone deliberately crafting a fake file.

What it's good for

Three common mistakes

1. "MD5 decrypt" sites

A hash can't be decrypted. Those sites search enormous precomputed lists — rainbow tables. They find common passwords like "123456" and never find a randomly generated one. A password made with the password generator isn't in any such list.

2. Hashing passwords without a salt

Because the same password always yields the same digest, two users sharing a digest reveals that they share a password. That's why each password gets a random salt. Real systems also use deliberately slow algorithms like bcrypt or Argon2 instead of fast SHA-256 — a fast hash lets an attacker try billions of guesses per second.

3. Mistaking a hash for encryption

If you need to store something and read it back later, a hash is the wrong tool — there's no way back. And if you only want to move text around, Base64 isn't the answer either: it encodes, it doesn't hide.

Glossary

Hash (digest)
A one-way function that turns data into a fixed-length fingerprint.
Collision
Two different inputs producing the same digest. Practical for MD5 and SHA-1.
Salt
A random value added to a password before hashing, so identical passwords don't share a digest.
Rainbow table
A precomputed list of digests — the method behind sites claiming to "decrypt" hashes.
Avalanche effect
The smallest change in the input completely changing the output.

Frequently asked questions

What is a hash?

A one-way function that turns data of any length into a fixed-length fingerprint. The same input always gives the same digest, and recovering the input from the digest is not practical.

Can a hash be reversed?

No — it isn't encryption and has no inverse. The "MD5 decrypt" sites online simply search huge precomputed tables, so they only find common passwords.

Why is MD5 insecure?

Two different inputs can be made to produce the same MD5 digest, which is called a collision and is practical today. That rules it out for signatures and security checks, though it's still fine for spotting a corrupted download.

Which algorithm should I use?

SHA-256 for anything new, SHA-512 when you want a longer digest. Use MD5 and SHA-1 only when you have to compare against a hash someone else produced.

Is my file uploaded?

No. The file is read in your browser and hashed there; its contents never leave your device.

How do I verify a file I downloaded?

Pick the file, then paste the hash published on the vendor's site into the compare box below. A match means the file is complete and unmodified.

Why does the same text always give the same hash?

Hashing involves no randomness — by design the same input always maps to the same output. That's why password storage adds a separate random "salt".

Base64 Encode & DecodeConvert text and files to Base64 and backPassword GeneratorStrong random passwords, one or in bulkText ToolsDedupe, sort, shuffle, find & replace

the Mall of Accs team Last updated:

More free tools

2FA Code GeneratorInstant codes from your secret keyQR Code GeneratorQR for links, text, Wi-Fi and 2FAQR Code ScannerRead a QR code from an image or cameraImage to LinkUpload an image, get a shareable linkImage CompressorCompress, resize, convert JPG/PNG/WebPImage WatermarkAdd a text watermark to images in bulkGmail Dot & Alias GeneratorHundreds of addresses from one GmailAccount Line ParserTurn messy lines into clean columnsYouTube Channel IDUC channel ID from a URL or @handleFacebook UIDNumeric ID from a public profileInstagram User IDNumeric ID from a public profileTikTok User IDNumeric ID + secUid from a profileYouTube Link GeneratorTimestamp link, embed code, subscribe linkYouTube Tag ExtractorA video's tags, title and descriptionYouTube Logo & BannerDownload a channel's logo and bannerYouTube ThumbnailDownload a video cover image (HD)Earnings CalculatorYouTube/TikTok/Twitch/Spotify incomeEngagement RateEngagement % from followers + likesProfile Photo DownloaderTikTok & Instagram profile pictureWheel of NamesType names, spin the wheel, get a winnerGiveaway PickerPick a fair random winner from a listText CompareLine-by-line diff of two textsInstagram Bio Line BreakLine breaks that survive in bios and captionsFancy Text GeneratorBold, italic and fancy Unicode text stylesCharacter & Word CounterLive counts against platform limitsUTM Link BuilderAdd campaign tags to a linkBinary ConverterText ⇄ binary, decimal ⇄ hex ⇄ octalSlug GeneratorTurn a title into an SEO-friendly URLJWT DecoderRead what is inside a tokenTimestamp ConverterUnix time to date and backJSON FormatterFormat, minify, find errors by linePassword Strength CheckerHow long would it take to crack?User-Agent ParserBrowser, OS, device and bot detectionIP LookupIP owner, ASN and reverse DNSEmail Domain CheckerMX, disposable, SPF and DMARCOutlook / Hotmail Inbox ReaderRead the inbox of an account you boughtShort Link GeneratorShorten long links in one clickUnit ConverterLength, weight, temperature, data and moreStopwatch & TimerLaps, plus a countdown with a sound alertDiscount CalculatorPercent-off price and discount rateCurrency ConverterDollar, euro, lira and 30 currencies