Processed in your browser

Switching language reloads this page. Copy or save any inputs and results first.

20 / CONVERSION

Hash generator / verifier

Hash text or files and check for a match.

Hashes are one-way and cannot restore the original content. Spaces and line breaks are included. SHA-1 is provided for compatibility. These algorithms are not intended for password storage.

Inputs and results are processed in your browser and are not saved.
How to use, examples and questions

Calculate SHA-256, SHA-384, SHA-512 or SHA-1 hashes of UTF-8 text or files and display hexadecimal output. Compare with an existing hash. The original content cannot be recovered from the hash.

Hash generator / verifier — how to use

  1. Enter text, or use “File” to choose a file up to 50 MiB.
  2. Choose an algorithm. SHA-256 is the default.
  3. Copy the result. Enter an expected hash in the verification field to check for a match. Calculations include text whitespace and trailing line breaks, or every byte of a file.

Input and output examples

Calculate a text SHA-256 hash

Settings: SHA-256 / no trailing line break

Input
Hello
Output
185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969

Frequently asked questions

Can a hash recover the original text?

Hashing differs from encryption and has no decoding function to restore the original. Even a small input change changes the result.

Can I use this for files or password storage?

Files up to 50 MiB can be read and hashed in full. Simple SHA hashing is not a password-storage scheme. SHA-1 is for compatibility checks.

Specifications and limits

Uses the Web Crypto API. SHA-1 is for compatibility checks and is not recommended for security use. Hashing is not encryption and cannot recover the original text. This is not a password-storage hashing scheme.

Analytics and privacy

Conversion inputs and results are processed in your browser. Image URL and OGP loads connect directly to your chosen destination only when you select the corresponding button. Image, video, Markdown, HTML, CSV and TSV files are not uploaded to our servers. Self-signed certificates and signatures are generated locally; private keys are never sent to our servers or analytics. Markdown external images and HTML scripts are not loaded. The API client sends the URL, headers, body and selected files directly to the endpoint only when you select Send or its shortcut. Speed tests exchange generated test data with Cloudflare when you start a measurement. These destinations receive your IP address. We do not proxy these connections or send inputs or measurement results to analytics. Conversions are not saved automatically. Unsaved API inputs, responses, history and environments stay only in this page. Only API requests explicitly selected with Save in this browser are stored. Auth fields, secret variables, known auth headers and files are excluded; review URLs, bodies and custom headers for other secrets first. Collection exports include URLs and bodies, so review them before sharing.

When analytics is enabled, we use Google Analytics 4 to measure pages, tool names and use counts, actions such as copying or saving an image, speed test starts, completion, cancellation and errors, product link clicks, and monitoring guide and service clicks using fixed IDs. Google uses cookies and collects device and browser information. Google signals for advertising and ad personalization are disabled.

Disabling analytics stores only that preference in this browser. Analytics settings never contain your inputs.Google's privacy policy

Analytics is currently unavailable on this site.