ハッシュ生成

SHA 系ハッシュをテキスト・ファイルから計算

Text input

Hashes update automatically as you type. Uploading a file hashes raw bytes instead (shown below).

Loading editor...

Compare hashes

Paste two hex digests (spaces ignored, case-insensitive). Useful for verifying downloads.

Compute cryptographic hashes without uploading anything

SHA-256 is everywhere — verifying downloads, signing payloads, comparing files. Computing a hash in the browser keeps the input on your machine via the Web Crypto API, so you can hash sensitive text or large files locally without trusting a server. The tool also supports SHA-1, SHA-384, and SHA-512 for legacy and high-security needs.

Use the generator when you need to

Verify a download against a published checksum

Hash the file and compare against the project's listed SHA-256 to confirm integrity.

Generate a deterministic identifier

Hash a canonical payload to produce a stable ID for caching, deduplication, or content addressing.

Sanity-check a webhook signature

Compute the expected hash of a payload to validate against the signature header from the upstream service.

How to hash text or files quickly

  1. 1

    Paste the text you want to hash, or click Hash file and select a file.

  2. 2

    Pick the algorithm (SHA-1, SHA-256, SHA-384, or SHA-512).

  3. 3

    Copy the resulting hex digest, or use the compare tool to verify against a published checksum.

Common hashing workflows

Verify a release artifact

Hash the downloaded file and compare against the project's published checksum before installing.

Diagnose a webhook signature mismatch

Hash the canonical payload locally to confirm what the upstream signature should be.

Detect duplicate documents

Use the hash of canonical content to identify duplicates without storing the documents themselves.

関連ツール

よくある質問

Web Cryptography APIを使ってSHA-1、SHA-256、SHA-384、SHA-512のダイジェストを計算します。MD5はブラウザのWeb Cryptoで提供されていないため、対応していません。

「Hash file」をクリックしてファイルを選択してください。ダイジェストは生のバイト列から計算されます。テキスト入力欄を編集すると、ファイルではなくテキスト内容のハッシュ計算に戻ります。

Hash AとHash Bに16進文字列を貼り付けます。ツールが空白と大文字/小文字の違いを正規化したうえで一致するかを表示します。公開されているchecksumとダウンロード物の検証に便利です。

いいえ。ファイル内容はFileReaderで読み取り、crypto.subtle.digestでブラウザ内だけで処理します。