DEV Community

ze he
ze he

Posted on • Originally published at aiforeverthing.com

I Built a Free REST API for Developer Tools (JSON, Base64, JWT, UUID, and More)

Every developer needs a handful of utility tools: format some JSON, decode a JWT, generate a UUID, test a regex. Usually you'd open a browser tab, paste your data into some random website, and hope it's not logging your secrets.

I built DevKits API — a free REST API that brings these tools to your code, your terminal, or your AI assistant.

What's Available

12 endpoints covering the most common developer utility tasks:

Endpoint What it does
POST /api/json/format Format + validate JSON
POST /api/base64/encode Encode to Base64
POST /api/base64/decode Decode from Base64
POST /api/jwt/decode Decode a JWT payload
GET /api/uuid/generate Generate UUID v4
POST /api/hash/generate MD5/SHA-1/SHA-256/SHA-512
POST /api/regex/test Test a regex pattern
POST /api/url/encode URL encode/decode
POST /api/markdown/to-html Convert Markdown to HTML
POST /api/diff/compare Text diff
POST /api/cron/parse Human-readable cron schedule

Quick Start

# Generate a UUID
curl https://api.aiforeverthing.com/api/uuid/generate
# → {"success":true,"data":{"uuids":["550e8400-e29b-41d4-a716-446655440000"]}}

# Format JSON
curl -X POST https://api.aiforeverthing.com/api/json/format \
  -H 'Content-Type: application/json' \
  -d '{"json":"{\"name\":\"Alice\",\"age\":30}"}'

# Decode a JWT
curl -X POST https://api.aiforeverthing.com/api/jwt/decode \
  -H 'Content-Type: application/json' \
  -d '{"token":"eyJhbGciOiJIUzI1NiJ9..."}'
Enter fullscreen mode Exit fullscreen mode

JavaScript SDK

There's also a zero-dependency npm package:

npm install devkits-client
Enter fullscreen mode Exit fullscreen mode
const { createClient } = require('devkits-client');
const devkits = createClient();

const { uuids } = await devkits.uuid.generate();
const { encoded } = await devkits.base64.encode('Hello!');
const { hash } = await devkits.hash.generate('password', 'sha256');
Enter fullscreen mode Exit fullscreen mode

MCP Server for AI Assistants

If you use Claude, Cursor, or any MCP-compatible AI, there's also an MCP server:

{
  "mcpServers": {
    "devkits": {
      "command": "npx",
      "args": ["devkits-mcp-server"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

This lets your AI assistant call these tools directly without any copy-paste.

API Playground

You can try every endpoint live at aiforeverthing.com/api/playground.html — no signup required.

Free vs Pro

  • Free: 100 requests/day per IP — more than enough for dev use
  • Pro: Unlimited requests + priority support ($9/month)

The free tier works without any API key. Just call the endpoints.

Built on Cloudflare Workers

The API runs on Cloudflare Workers at the edge — low latency everywhere, no cold starts, 99.99% uptime SLA from Cloudflare's infrastructure.

All source code patterns are documented at the API docs page.


If this is useful to you, ⭐ the GitHub repo or share with your team. Happy building!

Top comments (0)