Skip to content
Tools.Town
290+ free online tools

Hash API

SHA-1 / SHA-256 / SHA-384 / SHA-512 digests over text or base64 bytes.

Host: hash.tools.town Method: GET Auth: None Endpoints: 3

Edge digests via Web Crypto — hex and/or base64 output, optional hex case, and a compare endpoint for verifying expected hashes. Use the Hash Generator tool for interactive checks; call this host from backends and scripts.

Endpoint

All requests should be made to the following host:

GET https://hash.tools.town/?text=…

Authentication

No API key required. Public GET/POST. 256KB input cap per request.

All Endpoints

Every route available on hash.tools.town.

Method Path Description
GET /?text=… Hash UTF-8 text (algo defaults to sha256).
POST /compare Compare payload digest to expected_hex.
GET /embed HTML demo widget.

Example Request

cURL
curl -sG "https://hash.tools.town/" --data-urlencode "text=hello" --data-urlencode "algo=sha256"

Error Codes

Code Meaning
400 Bad Request — missing or invalid parameter
404 Not Found — unknown route on this host
405 Method Not Allowed — check the method in the table above
500 Internal Server Error — try again or contact support