Tools
Developer tools
Small utilities I reach for every day: format JSON and YAML, decode a JWT, hash, encode, test a regex, convert timestamps and calculate subnets.
Private Everything on these pages runs in your browser. What you type is never sent to a server and nothing is stored. The one exception is confirming a signature on a PDF, which stores your name, email and file fingerprints.
Documents
JSON
- JSON formatter and validator Format, minify, sort keys, validate with the exact line and column of an error, and browse a tree.
- JSON diff Compare two JSON documents and list what was added, removed or changed by path.
- JSONPath tester Query JSON with $.store.book[?(@.price < 10)] style expressions, without eval.
YAML
Encoding
Security
- JWT decoder Read the header and claims of a JSON Web Token and see whether it has expired.
- Hash generator MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or a file, computed locally.
- HMAC generator Sign a message with a secret key using HMAC-SHA.
- Password, UUID and random bytes Secure random passwords, UUID v4 and v7, and random bytes from the browser's CSPRNG.
Utilities
- Unix timestamp converter Convert epoch seconds or milliseconds to dates and back, in any time zone.
- Regex tester Test JavaScript regular expressions with highlighted matches and capture groups.
- Text diff Compare two texts line by line.
- Line endings converter Detect and convert LF, CRLF and CR line endings.
- IP and CIDR calculator Network, mask, range and host count for IPv4 and IPv6 subnets.
Use these tools from your AI client (MCP)
The calculation tools (JSON, YAML, Base64, URL, JWT decode, hashes, HMAC, random values, timestamps, regex, text diff, line endings, IP/CIDR) are also available over the Model Context Protocol, so an AI assistant can call them without opening this page. The PDF tools are not included.
Endpoint (Streamable HTTP, no key needed):
https://tdphat.io.vn/mcp
Claude Code:
claude mcp add --transport http dev-tools https://tdphat.io.vn/mcp
Other clients (JSON config):
{ "mcpServers": { "dev-tools": { "type": "http", "url": "https://tdphat.io.vn/mcp" } } }
Limit: 60 calls per minute per IP address (and a daily cap). Over the limit you get HTTP 429 with a Retry-After header.
Unlike the pages above, the tools called through MCP run on this server: the text you send is processed in memory and returned. It is not stored and not written to logs. Do not send production secrets, tokens or personal data.