Developer tools
Works Offline — No Internet Required
XML ↔ CSV Converter — Flatten Records & Rebuild Nested Tags
Convert XML catalogs to CSV and CSV back to nested XML in your browser. Auto-detect repeating records, flatten attributes, nest dotted headers, preview, and download — nothing is uploaded.
- Mobile Friendly
- Accessibility Tested
- SEO Optimized
- Fast Loading
- Responsive
Version 1.0.0 · Last reviewed
How it worksShow guide
Introduction
Drop an XML catalog, feed, or CSV export and convert in either direction on this device. Repeating XML elements become rows; nested tags and attributes flatten into columns. The reverse path rebuilds a records/record tree, optionally nesting dotted headers. Conversion is chunked so large files stay local without freezing the tab.
Step-by-step
- Choose XML → CSV or CSV → XML
- Drop a file or paste, then tune records, attributes, or nested headers
- Convert, preview, then copy or download
Worked example
XML → CSV auto-detects item and yields columns @id and name. Switching to CSV → XML with nested headers off rebuilds <record><id>1</id><name>Ada</name></record> under your chosen root.
Use cases
- Turn a product XML feed into a spreadsheet
- Rebuild nested XML from a CSV export
- Preview the first rows of a multi-megabyte file before downloading
Frequently asked questions
Does my data leave the browser?
No. Parsing and conversion run locally. Download uses a blob in this tab.
How are nested elements handled?
Child tags become dotted paths (addr.city). Repeating siblings become tag.0, tag.1 or a JSON cell. Attributes can be extra columns with an @ prefix. CSV → XML can nest those dotted headers back into tags.
How large a file can I convert?
Up to 24 MB and 100,000 records, processed in chunks so the UI can keep painting. Preview shows the first rows; download the file for the rest.
Related tools
-
JSON ↔ CSV Converter
Convert JSON arrays to RFC 4180 CSV (or TSV) with nested flattening, then reverse CSV back to JSON — privately in your browser.
-
JSON Formatter
Beautify, minify, and validate JSON in your browser — private and free.
-
Text Diff Checker
Compare two texts line by line, word by word, or character by character. Highlights additions and deletions privately in your browser.
Popular tools
-
API Workbench
Browser-native API client — build or paste cURL requests, inspect responses, manage collections, and store everything in IndexedDB. No backend required.
-
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to UTF-8 text in your browser.
-
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, sentence case, camelCase, snake_case, or kebab-case.
-
Color Contrast Checker
Check WCAG 2 contrast ratios between foreground and background hex colors.
Was this helpful?
Your feedback stays on this device only — it is not sent to the Bestrao team yet.