Back to prompts

JSON Data Extractor

extraction0 saves

The JSON Data Extractor parses unstructured text to extract information according to a specified JSON schema, ensuring that all relevant data is formatted correctly and missing fields are represented as null. This tool is useful for transforming raw text data into structured JSON format for easier data manipulation and analysis.

Prompt Text

Parse the following unstructured text and extract it into the specified JSON schema.

Target Schema:
{{schema}}

Input Text:
{{text}}

Extract all relevant information that fits the schema. Use null for missing fields. Ensure the output is valid JSON matching the schema exactly.

Evaluation Results

1/28/2026
Overall Score
2.65/5

Average across all 3 models

Best Performing Model
Low Confidence
google:gemini-2.5-flash-lite
4.94/5
google:gemini-2.5-flash-lite
#1 Ranked
4.94
/5.00
adh
4.8
cla
5.0
com
5.0
In
828
Out
1,073
Cost
$0.0005
anthropic:claude-3-5-haiku
#2 Ranked
1.96
/5.00
adh
0.8
cla
4.8
com
0.3
In
835
Out
450
Cost
$0.0025
openai:gpt-5-mini
#3 Ranked
1.04
/5.00
adh
0.5
cla
2.4
com
0.2
In
735
Out
3,083
Cost
$0.0063
Test Case:

Tags