Free Online Tool

Json Api โ€” Free Online Tool

Format (pretty print) or minify JSON via free REST API. Returns formatted JSON. Perfect for developers debugging APIs. No API key required!

100% Free
Instant Results
No Login Needed
โ˜…โ˜…โ˜…โ˜…โ˜…4.9 (3,156 reviews)
Free Online Tool

Json Api โ€” Free Online Tool

Format (pretty print) or minify JSON via free REST API. Returns formatted JSON. Perfect for developers debugging APIs. No API key required!

100% Free
Instant Results
No Login Needed
โ˜…โ˜…โ˜…โ˜…โ˜…4.9 (3,156 reviews)
Free Online Tool

Json Api โ€” Free Online Tool

Format (pretty print) or minify JSON via free REST API. Returns formatted JSON. Perfect for developers debugging APIs. No API key required!

100% Free
Instant Results
No Login Needed
โ˜…โ˜…โ˜…โ˜…โ˜…4.9 (3,156 reviews)
POST https://onemail.pro/api/json

Endpoints

EndpointMethodDescription
/api/json?action=formatPOSTFormat JSON
/api/json?action=minifyPOSTMinify JSON
/api/json?action=validatePOSTValidate JSON

Example Request

// cURL

curl -X POST "https://onemail.pro/api/json?action=format" -H "Content-Type: application/json" -d '{"name":"John"}'

// JavaScript

fetch('https://onemail.pro/api/json?action=format', { method: 'POST', body: JSON.stringify({name:'John'}) })

Test the API

Response Format

// Format Response
{
  "success": true,
  "action": "format",
  "result": "{\n  \"name\": \"John\",\n  \"age\": 30\n}",
  "originalSize": 24,
  "formattedSize": 38
}

// Validate Response
{
  "success": true,
  "action": "validate",
  "valid": true,
  "error": null
}