← Developer presets

SHA-256 hash generator

Generate a SHA-256 hash from any text. It is computed in your browser with the Web Crypto API.

Hash Values

Use this tool from AI agents

This tool's engine is available to AI agents over MCP as hash_text. Add the Clean.tools server, then your agent can call it directly.

Claude Code
claude mcp add --transport http clean-tools https://mcp.clean.tools/mcp
Claude Desktop (mcpServers)
{"mcpServers":{"clean-tools":{"command":"npx","args":["-y","@clean-tools/mcp"]}}}
Cursor
https://mcp.clean.tools/mcp

Or call it over plain HTTP from any script. Same engine, JSON in and JSON out, no key:

curl
curl -s https://api.clean.tools/v1/hash_text \ -H 'content-type: application/json' \ -d '{"text":"hello world","algorithm":"SHA-256"}'
JavaScript
const res = await fetch('https://api.clean.tools/v1/hash_text', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ text: 'hello world', algorithm: 'SHA-256' }) }); const data = await res.json();

SHA-256 hash generator

Type or paste text above and this tool shows its SHA-256 hash instantly, alongside SHA-1 and the other SHA variants. For example, the SHA-256 hash of "hello world" is:

SHA-256

b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

Hashing uses the browser's Web Crypto API, so your text never leaves the page. No cost, no signup, no tracking.


Frequently asked questions

Is SHA-256 reversible?

No. SHA-256 is a one-way hash, so you cannot recover the original text from the digest. Equal inputs always produce the same digest, which is what makes it useful for checksums and fingerprints.

Can I use this from the command line or an AI agent?

Yes. It is a REST endpoint at https://api.clean.tools/v1/hash_text and an MCP server you can add to Claude, Claude Code, or Cursor. The @clean-tools/mcp npm package runs it as a local stdio server.

More developer presets

View all tools

Use Clean.tools from your AI agent

This tool is also hash_text on the Clean.tools MCP server — the same engine, callable by your AI agent directly. No key, no signup: requests are processed in memory and request contents are never stored.

Claude Code
claude mcp add --scope user --transport http clean-tools https://mcp.clean.tools/mcp
Any MCP client (streamable HTTP, authless)
https://mcp.clean.tools/mcp

Every tool, the REST API, and setup for Cursor, Claude Desktop, VS Code & more →