Home / All prompts / Information / Extract structured fields from unstructured text

Extract structured fields from unstructured text

Extract information from the text below into a table.

Copy this prompt

Extract information from the text below into a table. Fields: {{fields}}. Rules: (1) use null for fields absent from the text, never infer; (2) keep original units and wording, no conversion; (3) append a location reference to each field (paragraph number or first six words of the sentence) so I can verify; (4) if a field has multiple values, list all separated by semicolons. Text: {{text}}

How to use it

Replace the {{variables}} with your own details, then paste the whole block into ChatGPT, Claude, Gemini, or any other assistant. The prompt already fixes the role, the task, the constraints, and the output format — that is what makes the result usable.

Chinese version

从下面的文本中抽取信息,填进表格。字段:{{字段列表}}。规则:1) 原文没有的字段填 null,不要推测;2) 保留原始单位和表述,不做单位换算;3) 每个字段后加原文位置(第几段/哪句话的前六个字),便于我核对;4) 如果同一字段有多个值,全部列出用分号隔开。文本:{{文本}}

FAQ

What is this prompt for?

Extract information from the text below into a table.

Do I need to pay to use it?

No — this prompt is in the free tier and is shown in full.

Does it work with any AI model?

Yes. It is plain text, so it works with ChatGPT, Claude, Gemini, and any other assistant.

More Information prompts