Developers

A free API for everyday tools

Hashes, encodings, QR codes, placeholders, conversions and image optimization over plain HTTP. No key, no signup, JSON in and out.

Try it

curl -X POST https://mcp.cleanor.app/v1/tools/hash \
  -H 'content-type: application/json' \
  -d '{"input":"hello"}'

{"ok":true,"tool":"hash","data":{"algorithm":"sha-256","hex":"2cf24d…9824"},"text":"sha-256: 2cf24d…9824"}

Every tool takes a JSON body and returns data (structured) and text (readable). Bad input gets a 400 with the exact field that failed.

Embed without code

Two endpoints return SVG images, so a plain URL works in HTML, Markdown, Notion or email.

QR code for cleanor.app
https://mcp.cleanor.app/v1/qr.svg?text=…&size=200Options: ecc L, M, Q or H; size 64 to 1024.
Placeholder image 600 by 300
https://mcp.cleanor.app/v1/placeholder/600x300.svg?text=…&bg=…&color=…Any size up to 4000 × 4000; colors as hex, rgb() or names.

Optimize an image

curl -X POST https://mcp.cleanor.app/v1/optimize \
  -F file=@photo.jpg -F format=webp -F quality=80 -o photo.webp

WebP, AVIF or JPEG, optional width up to 4096. The response headers report the bytes saved. This is the endpoint our WordPress plugin uses.

All tools (22)

  • POST /v1/tools/optimize_imageOptimize / convert an image for the webFetch an image from a public URL and re-encode it smaller (WebP/AVIF/JPEG), optionally resizing to a target width. Returns the optimized image plus before/after byte sizes. Use this when an AI-generated or dropped-in asset (hero image, screenshot, illustration) is too large to ship.
  • POST /v1/tools/storage_capacityHow much fits in a phone storage tierHow many photos or minutes of video actually fit in a given storage size, corrected for real OS/filesystem overhead. Backed by Cleanor Labs measured per-item sizes. Use for realistic sample copy, dashboards, or "how many photos fit in 128 GB" answers.
  • POST /v1/tools/image_format_savingsReal storage savings of next-gen image formatsHow much smaller WebP, AVIF or JPEG XL are than JPEG at matched perceptual quality, from Cleanor Labs’ controlled benchmark. Also reports the "HEIC conversion tax" (converting an iPhone HEIC to JPG/PNG makes it bigger). Use to justify a format choice when building a site or app.
  • POST /v1/tools/qr_codeGenerate a QR code (SVG)Encode text or a URL as a QR code and return a crisp, dependency-free SVG you can paste straight into a page, deck or doc.
  • POST /v1/tools/hashHash text (SHA family)Compute a cryptographic hash of text (SHA-1, SHA-256, SHA-384 or SHA-512) and return the hex digest. Use for checksums, cache keys, or verifying content. MD5 is intentionally not offered (broken, and unavailable in Web Crypto). LLMs cannot compute these reliably by hand, so always use this tool instead of guessing.
  • POST /v1/tools/uuidGenerate UUIDsGenerate one or more UUIDs. v4 is fully random; v7 is time-sortable (recommended for database keys). LLMs cannot produce cryptographically random or correctly-formatted UUIDs, so always use this tool.
  • POST /v1/tools/base64Base64 encode / decodeEncode text to Base64 or decode Base64 back to text (UTF-8 safe). Supports URL-safe alphabet. Use whenever you need to encode/decode data URIs, tokens, or config values instead of guessing the bytes.
  • POST /v1/tools/json_formatFormat / validate JSONValidate JSON and pretty-print or minify it, optionally sorting object keys. Returns a precise parse error (with position) if invalid. Use to check and clean JSON instead of eyeballing it.
  • POST /v1/tools/jwt_decodeDecode a JWT (no verification)Decode a JSON Web Token into its header and payload so you can inspect claims (iss, exp, sub, scopes). The signature is NOT verified and no secret is required or stored. Use to read a token during debugging.
  • POST /v1/tools/colorConvert a color between formatsConvert a color (hex, rgb() or hsl()) and return hex, RGB and HSL representations at once. Use when picking or translating colors for CSS, design tokens or themes.
  • POST /v1/tools/slugifySlugify text for URLsTurn a title or phrase into a clean, URL-safe slug (lowercase, hyphenated, accents stripped). Use when generating page paths, filenames or anchor IDs.
  • POST /v1/tools/countCount characters, words, lines, bytesAccurately count characters (Unicode code points), UTF-16 units, words, lines and UTF-8 bytes in text. LLMs are notoriously bad at counting, so always use this tool for "how many characters/words" questions.
  • POST /v1/tools/regex_testTest a regular expressionTest a JavaScript regular expression against sample text and return whether it matches, plus every match with its captured groups and index. Use to verify a pattern instead of reasoning about it in your head. Input and pattern are length-capped to keep it fast and safe.
  • POST /v1/tools/cron_describeExplain a cron expressionParse a standard 5-field cron expression (minute hour day-of-month month day-of-week) into a plain-English breakdown and the next few run times in UTC. Use to sanity-check a schedule instead of guessing what the fields mean.
  • POST /v1/tools/unit_convertConvert between unitsConvert a value between units of length, mass, data size, time, speed or temperature. Supported units: mm, cm, m, km, in, ft, yd, mi, nmi, mg, g, kg, t, oz, lb, st, bit, byte, kb, kib, mb, mib, gb, gib, tb, tib, ms, s, min, h, day, week, mps, kph, mph, fps, knot, c, f, k. Use for exact conversions instead of approximating.
  • POST /v1/tools/datetimeCurrent or parsed date/timeGet the current date/time, or convert a given timestamp, into a target IANA timezone with ISO, Unix and human-readable forms. Pass a Unix timestamp (seconds or ms) or an ISO string as input; omit it for "now". LLMs cannot know the real current time, so use this instead of guessing.
  • POST /v1/tools/url_parseParse a URL into partsBreak a URL into its components: scheme, host, port, path, decoded query parameters and fragment. Use to inspect or debug a URL instead of parsing it by eye.
  • POST /v1/tools/base_convertConvert a number between basesConvert an integer between number bases 2–36 (e.g. hex to binary, decimal to base-36). Arbitrary precision via BigInt, so large values stay exact. Use for radix conversions instead of doing them by hand.
  • POST /v1/tools/diffLine diff between two textsCompute a line-by-line diff between two texts, marking removed lines with "-", added with "+" and unchanged with two spaces, plus a change count. Use to see exactly what changed instead of comparing by eye. Capped at 1000 lines per side.
  • POST /v1/tools/hmacHMAC signature of a messageCompute an HMAC (keyed hash) of a message with a secret, using SHA-1/256/384/512, returned as hex or Base64. Use to sign webhook payloads or verify a signature instead of guessing. LLMs cannot compute this by hand.
  • POST /v1/tools/placeholder_imageGenerate a placeholder image (SVG)Generate a lightweight SVG placeholder image at any size, with an optional label and custom background/text colors. Dependency-free, pastes straight into a page or mockup. Use for wireframes and design stubs instead of hotlinking a placeholder service.
  • POST /v1/tools/color_paletteGenerate a color paletteBuild a harmonious color palette from a base color using color-theory rules (complementary, analogous, triadic, tetradic, or monochromatic). Returns each color as hex and HSL. Use to derive a theme or design tokens from one brand color.

Details

  • OpenAPI 3.1: https://mcp.cleanor.app/v1/openapi.json. Import it into Postman, Insomnia or a GPT action.
  • Limits: 120 requests per minute per IP, 30 image optimizations per minute.
  • CORS is open, so you can call it straight from a browser.
  • The same tools speak MCP at https://mcp.cleanor.app/mcp for AI agents. See the MCP server page.
  • Free to use; a link back to cleanor.app is appreciated. Questions or a tool you need? Ask in the community.