Convert any data to JSON

Working with unstructured data is a nightmare. JSONapi helps you extract information from any source, like html, and convert it to JSON.

Web scraping
Data extraction
Email processing
It's this Simple
await fetch("https://json.mvp-subha.me/api/json", {
  method: "POST",
  body: JSON.stringify({
    data: "This phones battery life lasts a whole day!",
    format: {
      batteryLifeHrs: { type: "number" },
    },
  }),
})

Input Text

JSON Format

JSON

Output

Your JSON output will appear here

API Route

POST /api/json
Content-Type: application/json
                
{
  "data": "This phones battery life lasts a whole day!",
  "format": {
  "batteryLifeHrs": { "type": "number" }
}
}

Here are some Examples

Made Using :

NextJSGeminiVercelts