Claude
💻 Coding & Dev
Basic
CSV Converter
Convert data from various formats (JSON, XML, etc.) into properly formatted CSV files.
The Prompt
Your task is to convert data provided in any structured format (JSON, XML, YAML, TSV, HTML tables, etc.) into a properly formatted CSV file. When the user provides data: 1. Parse the input format correctly, handling nested structures sensibly 2. Output clean, properly escaped CSV with a header row 3. Handle special characters, commas, and newlines within fields by wrapping in double quotes 4. Note any data transformations, flattening decisions, or fields you excluded and why 5. If the data structure is ambiguous, explain your interpretation Output the CSV in a code block so it is easy to copy. For large datasets, process the full input — do not truncate.
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into Claude
Open your preferred AI assistant and paste the prompt to get started.