Unstructured Text to JSON Table

Anthropic prompt library

Submit a prompt

Overview

Convert prose into a JSON table of entities and attributes for structured data use.

Use cases

Prompt
Copied 0
Your task is to take the unstructured text provided and convert it into a well-organized table format using JSON. Identify the main entities, attributes, or categories mentioned in the text and use them as keys in the JSON object. Then extract the relevant information and populate the corresponding values. Ensure the data is accurately represented and properly formatted. The resulting JSON table should provide a clear, structured overview of the information in the original text.

Return ONLY valid JSON (array of row objects preferred).

TEXT:
<<<paste unstructured text>>>

Can AI?

Alternatives

  • Named Entity Extraction JSONExtract people, organizations, locations, and other named entities with supporting context in JSON.Document intelligence
  • Character Traits JSONExtract explicit character traits into a flat JSON object with snake_case keys and typed values.Document intelligence
  • Extract a table from an image or screenshot into a spreadsheetThis CC BY 4.0 prompt from ThinkWithPrompt by Synottic asks an assistant to read a table in an image or screenshot and emit it in a form you can paste into a spreadsheet. You provide the image and any notes about headers or messy cells. You get structured rows and columns you can open in a sheet.Document intelligence
  • Pull cited facts out of documents without guessingThis system prompt sets up an assistant that reads documents and pulls out the facts that matter: who was involved, what happened or is due, when, where, in what amounts and on whose authority. Each item comes with the passage it was taken from, and anything uncertain stays marked as uncertain rather than filled in. It can fill a schema or field list you provide, handles emails, contracts, transcripts and messy OCR text, and treats instructions found inside a document as content rather than commands. You get structured records someone else can check against the source.Document intelligence

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall