# Caruana Utilities

> Deterministic developer utilities for AI agents and people: encoding, hashing, checksums, key and certificate inspection, TLS checks, JWT/URL/UUID inspection, time-zone arithmetic, cron, text diffs, and JSON/YAML/TOML/CSV validation, formatting and conversion. Same input, same output, every time. Available as an HTTP API, an MCP server and an A2A agent; every tool also has a browser UI that runs locally.

This is mostly a toolbox for my own agents: deterministic tools they can call instead of spending tokens on work that has exactly one right answer. Every tool has a browser UI, and the same work is exposed through an HTTP API, an MCP server and an A2A agent. New tools are added on request (`tool_request`).

## How it grows

Need a tool that isn't here? Agents call `tool_request` (HTTP `POST https://util.caruana.me/api/tools/request`, MCP or A2A); people use https://util.caruana.me/tools/request/. Every request is triaged as planned, building, shipped or declined; check yours with `tool_requests`. Shipped tools get a browser UI, the API, MCP and A2A, a specification and tests.

## For agents

- Auth (self-registration, no human needed): https://util.caruana.me/auth.md
- MCP: https://util.caruana.me/mcp (server card https://util.caruana.me/.well-known/mcp/server-card.json)
- A2A: https://util.caruana.me/.well-known/agent-card.json
- OpenAPI: https://util.caruana.me/openapi.json
- Index for LLMs: https://util.caruana.me/llms.txt

## Tools

### Encoding

- [URL Encode / Decode](https://util.caruana.me/tools/url.md): Percent-encode or decode text for URLs, query strings, and form bodies.
- [Base64](https://util.caruana.me/tools/base64.md): Encode or decode Base64, standard or URL-safe, with proper UTF-8 handling.
- [HTML Entities](https://util.caruana.me/tools/html.md): Escape text for HTML, or decode every named and numeric entity.
- [Hex](https://util.caruana.me/tools/hex.md): Text to UTF-8 bytes in hex and back: plain, spaced, \x, or 0x.
- [Punycode / IDN](https://util.caruana.me/tools/punycode.md): Convert internationalised domain names to xn-- form and back.

### Hashing

- [Hash Generator](https://util.caruana.me/tools/hash.md): MD5, SHA-1, SHA-2, SHA-3, BLAKE2b and BLAKE3 digests and HMACs of any text.
- [File Hash Verification](https://util.caruana.me/tools/hash/verify.md): Check a download against its checksum or SHA256SUMS file. Files never leave your browser.

### Keys & Certificates

- [Fingerprints](https://util.caruana.me/tools/fingerprint.md): SSH, X.509, SPKI-pin and OpenPGP fingerprints, cross-referenced between formats.
- [Certificate Decoder](https://util.caruana.me/tools/cert.md): Decode certificates, chains and CSRs: names, validity, extensions, chain order.
- [TLS Checker](https://util.caruana.me/tools/tls.md): Connect to a host and check its certificate chain, trust, host name and protocol (server-side).
- [Key Pair Generator](https://util.caruana.me/tools/keys.md): RSA, ECDSA, Ed25519 and X25519 keys as PEM and OpenSSH, with CSRs and self-signed certs.

### Inspect & Identify

- [JWT Inspector](https://util.caruana.me/tools/jwt.md): Decode a JWT, check expiry and algorithm, and verify the signature with a public key or JWKS.
- [URL Parser](https://util.caruana.me/tools/url-parse.md): Split a URL into host, port, path segments and ordered query parameters, exactly as browsers do.
- [IP Address Inspector](https://util.caruana.me/tools/ip.md): Canonical form, special-purpose ranges, embedded IPv4 and reachability of any IPv4 or IPv6 address.
- [UUID Generator & Inspector](https://util.caruana.me/tools/uuid.md): Generate v4 or time-ordered v7 UUIDs, or decode any UUID’s version, variant and timestamp.

### Text & Data

- [Text Inspector](https://util.caruana.me/tools/text.md): Exact character, byte, word and line counts; find letters; reveal invisible and look-alike characters.
- [Text Diff](https://util.caruana.me/tools/diff.md): Compare two texts by line, word or character and get a unified diff.
- [JSON Format & Validate](https://util.caruana.me/tools/json.md): Validate JSON with exact error locations, pretty-print or minify it, sort keys, and find duplicate keys.
- [JSON Schema Validator](https://util.caruana.me/tools/json-schema.md): Validate JSON against a JSON Schema (2020-12, 2019-09, 7, 4) with every error as a JSON Pointer.
- [YAML Format & Validate](https://util.caruana.me/tools/yaml.md): Convert between JSON and YAML 1.2, with warnings for YAML 1.1 pitfalls like yes/no and 0755.
- [JMESPath Query](https://util.caruana.me/tools/json-query.md): Filter, project and reshape JSON with JMESPath expressions, with error positions.
- [TOML Format & Validate](https://util.caruana.me/tools/toml.md): Validate, lint and format TOML 1.0 with exact error locations; explore it as a tree; convert to and from JSON.
- [CSV Validate & Format](https://util.caruana.me/tools/csv.md): Validate CSV with exact error positions, detect the delimiter and header, infer column types, and reformat or convert to and from JSON.
- [CSP Checker](https://util.caruana.me/tools/csp.md): See what a Content-Security-Policy blocks in an HTML page, and the exact hashes that would allow its inline scripts and styles.

### Time & Scheduling

- [Time & Time Zones](https://util.caruana.me/tools/time.md): Current time in any zone; convert ISO 8601, RFC 2822, HTTP dates and Unix timestamps; DST-aware differences and date arithmetic.
- [Cron Explainer](https://util.caruana.me/tools/cron.md): Cron expressions in plain English, field by field, with the next run times in your time zone.

### Requests

- [Request a Tool](https://util.caruana.me/tools/request.md): Ask for a new deterministic tool. Agents can request tools for themselves over the API, MCP or A2A.
