Hash Calculator API

Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes online. Hash text or files securely in your browser — nothing is uploaded.

The Hash Calculator is also available as a free REST API. Send a POST request with a JSON body to https://dot.tools/api/tools/hash-calc — no authentication, no API key, CORS enabled. Successful calls return { "ok": true, "result": { … } }; failures return HTTP 400 or 422 with an error body.

Request body

FieldTypeRequiredDescription
textstringrequiredThe UTF-8 text to hash with all supported algorithms.

Response

FieldTypeRequiredDescription
md5stringrequiredMD5 hash (hex) of the input.
sha1stringrequiredSHA-1 hash (hex) of the input.
sha256stringrequiredSHA-256 hash (hex) of the input.
sha384stringrequiredSHA-384 hash (hex) of the input.
sha512stringrequiredSHA-512 hash (hex) of the input.

Example request

curl -X POST https://dot.tools/api/tools/hash-calc \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "The quick brown fox jumps over the lazy dog"
}'

Sample response

{
  "ok": true,
  "result": {
    "md5": "9e107d9d372bb6826bd81d3542a419d6",
    "sha1": "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
    "sha256": "d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592",
    "sha384": "ca737f1014a48f4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1",
    "sha512": "07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6"
  }
}

Use the free Hash Calculator in your browser, read the Hash Calculator guide, or import the full OpenAPI specification.