Skip to content
All tools

Hash MD5, SHA256, Base64 & URL Encoder

Compute MD5, SHA-1, SHA-256, SHA-512 of text or files; encode/decode Base64, URL and hex with full UTF-8. Runs in your browser — free, with API.

·3 runs ·Developer API ↓

Results update as you type. Files up to 200 MB are read in your browser — never uploaded.

Result
Type text or choose a file to see MD5, SHA-1, SHA-256, SHA-384, SHA-512

Computed right in your browser — text and files are never sent to the server or stored.

Developer API

Developer API

Free

Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.

Endpoint

POST https://sieutool.net/api/v1/tools/hash-base64

Auth: send the X-API-Key header — create a free key in Account → API keys.

  • Rate limit60 requests/min
  • Daily quota1.000 requests/day
  • PriceFree · up to 1 items/request

Request parameters

ParameterTypeDescription
text *stringChữ — API tối đa 100.000 ký tự (mỗi dòng 1 mục)
op"hash_all" | "md5" | "sha1" | "sha256" | "sha384" | "sha512" | "base64_encode" | "base64_decode" | "base64url_encode" | "url_encode" | "url_decode" | "hex_encode" | "hex_decode"Thao tác(default "hash_all")

* required. Send JSON in the body, Content-Type: application/json.

Code examples

curl -X POST 'https://sieutool.net/api/v1/tools/hash-base64' \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: $NXP_API_KEY" \
  -d '{"text":"Việt Nam","op":"hash_all"}'

Sample response

{
  "ok": true,
  "tool": "hash-base64",
  "version": "1.0.0",
  "data": {
    "op": "hash_all",
    "hashes": {
      "md5": "f6ce1ae8b39af9d38d653b8a0890adb8",
      "sha1": "69fa3409f7eed2ab99b52a7ce40155fd9b9e62ec",
      "sha256": "7831582cb944e4fd45dc7191459a05760a84a0faf3446fa732fb5b47575aa4b3",
      "sha384": "a8d01f1ba872f765d9805c3538af843bf1f90c6a924bb15d077b7f35254e868063a4d139f9cffa79fe9b90a035c64605",
      "sha512": "d305c6181c7ed93b75c4861b5568c5f98dc9da9a13a9e84c8c32761a437340484090d6d5a7474d2e7fa840fd18e8289d13ac264a35efb75976bafa9fdff611a3"
    }
  }
}

Try it (live call)

No API key yet? Sign in and create a free key, then paste it below. Create API key
Paste your API key (kept in this page only, never stored) and send a request. Test requests count toward your key's rate limit.

Main error codes

HTTPcodeMeaning
400BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER…Invalid input — the message names the field
401MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEYMissing, invalid or revoked API key
429RATE_LIMITED / IP_RATE_LIMITEDPer-minute rate limit exceeded — wait for Retry-After
429DAILY_QUOTA_EXCEEDEDDaily quota used up — the upgrade field suggests a paid plan
429CLUSTER_QUOTA_EXCEEDEDLinked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account
503SERVER_BUSY / TOOL_BUSY / API_DISABLEDServer under heavy load or API paused — wait for Retry-After

Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).

How to use

A toolkit for developers and anyone verifying files: compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or whole files (to compare download checksums), encode and decode Base64, Base64URL, URL percent-encoding and hex. Text is handled as UTF-8 so accented characters work correctly. Everything runs in your browser.

  1. Pick a tab: Hash, Base64, URL or Hex.
  2. Type or paste text (click Try an example for a sample). On the Hash and Base64 tabs you can Choose a file — it is read in your browser, not uploaded.
  3. Results appear as you type; on Base64/URL/Hex choose Encode or Decode.
  4. Click Copy next to each result; on the Hash tab paste a checksum to compare and the tool shows Match / No match.

Frequently asked questions

Both produce a fixed fingerprint of data. MD5 (32 hex chars) is fast but broken for collisions — only use it to detect corrupted downloads. SHA-256 (64 chars) is the current standard for software checksums, signatures and blockchains.

On the Hash tab click Choose file, pick the file, then paste the publisher's checksum into Compare. The tool detects MD5, SHA-1 or SHA-256 by length and shows Match or No match. The file is read in your browser (up to 200 MB), never uploaded.

Many sites use the browser's btoa, which only accepts Latin-1 characters. This tool converts text to UTF-8 bytes first, so "Việt Nam" always becomes Vmnhu4d0IE5hbQ== and decodes back exactly.

Not on the web: text and files are processed in your browser; the server only records 1 run (without content) and nothing is saved. With the API, text is sent to the server and computed in memory, not stored, content not logged.
  • Do not use this tool to reverse other people's passwords or hashes.
All Utilities tools →
Sends only the tool name, the last error code and your browser type — never what you typed.