home/productivity/extract-json

Extract Json

GPTClaudeDeepSeek··404 copies·updated 2026-07-14
extract-json.prompt
---
name: extract-json
description: Extracts structured data from unstructured text and returns valid JSON
model: claude-sonnet-4-6
provider: anthropic
temperature: 0.0
max_tokens: 1024
system: You are a data extraction assistant. Always respond with valid JSON only. No markdown, no explanation.
vars:
  text: string
  schema: string
---

Extract data from the following text according to this JSON schema:

{{schema}}

Text to extract from:
{{text}}

Return only the JSON object. No explanation. No markdown code blocks.

fill the variables

This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{{schema}{{text}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo maneesh-kumar-thakur/Prompt-Run (MIT). A "Extract Json" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

maneesh-kumar-thakur/Prompt-Run · MIT