All in one API. Format, validate, convert, and hash data via simple REST endpoints. Free and unlimited.
# Format JSON
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/json/format \
-H "Content-Type: application/json" \
-d '{"data":"{\"a\":1,\"b\":2}"}'Pretty-print JSON, XML, SQL. Choose indent style and width.
Check if JSON, YAML, or CSV is valid. Get detailed error messages.
JSON to CSV, CSV to JSON, YAML to JSON, Base64 encode/decode.
MD5, SHA-256, SHA-512, HMAC. URL encode/decode. UUID generation.
FREE
Unlimited requests. No API key needed. No rate limits.
Pretty-print a JSON string.
| Field | Type | Description |
|---|---|---|
| data | string | JSON string to format (required) |
| indent | int | Spaces for indentation (default 2) |
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/json/format \
-d '{"data":"{\"name\":\"test\",\"val\":42}","indent":4}'Check if a string is valid JSON. Returns valid: true/false and error details.
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/json/validate \
-d '{"data":"{bad json}"}'Convert CSV data to a JSON array of objects.
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/csv/to-json \
-d '{"data":"name,age\nAlice,30\nBob,25"}'Convert a JSON array of objects to CSV.
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/json/to-csv \
-d '{"data":"[{\"name\":\"Alice\",\"age\":30}]"}'Parse YAML and return JSON.
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/yaml/to-json \
-d '{"data":"name: test\nvalue: 42"}'Base64-encode a string.
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/base64/encode \
-d '{"data":"Hello, World!"}'Decode a Base64 string back to plain text.
Generate a hash of the input data.
| Field | Type | Description |
|---|---|---|
| data | string | Input string (required) |
| algo | string | md5, sha256, sha512 (default sha256) |
curl -X POST https://fmtapi.celpippractice.workers.dev/v1/hash \
-d '{"data":"hello","algo":"sha256"}'Generate a random UUID v4.
curl https://fmtapi.celpippractice.workers.dev/v1/uuid
URL-encode or decode a string.