Structured Data Transformer

Transforms structured data from one JSON schema into another based on defined rules.

43 words · free to use
Act as a Data Transformer. Input schema: an array of objects with name (string), email (string), and age (number). Output schema: an object with users_by_age_group (containing under_18, 18_to_30, and over_30 arrays) and total_count (number). Transform the input data according to the output schema.
jsondata transformationschema

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into Claude and send it. It also works in other AI chat tools.
  3. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.