XML to Excel
Turn repeated XML records into rows in an Excel worksheet. Choose the fields and preview the workbook before saving.
Convert XML to Excel
- Paste XML or choose a UTF-8 XML file.
- Choose the element that represents one row and select the fields you need.
- Build the workbook, review the preview and download the XLSX file.
Choose what goes in the worksheet
Use a repeating element such as item or product for the rows. Select a parent attribute to repeat its value on the corresponding rows.
Keep identifiers as Text to preserve characters such as leading zeros. Choose Number for a column you intend to sum.
A namespace identifies where a field is defined. Two labels with the same prefix can belong to different namespaces.
Use the workbook
Turn a product feed into a table with a group code, SKU, label and numeric quantity.
Keep a long identifier or a date-shaped value as text so Excel retains its original spelling.
Supported XML and workbook shape
Use a UTF-8 XML document up to 2 MiB with no DTD. The result is one worksheet for the selected record path.
Repeated fields within a record get their own columns. The preview distinguishes an empty value from a field that was absent.
Local conversion
Your XML and workbook stay in this tab. Reloading clears the workspace.
XML to Excel questions
Sources
Standards and references for reading XML and writing XLSX.
- W3Cw3.orgXML 1.0Defines XML syntax, character references and whitespace handling.
- W3Cw3.orgNamespaces in XMLDefines how namespace URIs identify elements and attributes.
- Ecma Internationalecma-international.orgECMA-376Defines the XLSX package and worksheet cell types.
- Microsoftsupport.microsoft.comLeading zeros and large numbersExplains how Excel handles numeric precision and leading zeros.
Related tools
JSON to TypeScript
Infer a TypeScript type alias from a JSON sample, then review, copy or download the code.
Open tool — JSON to TypeScriptJSON to YAML
Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.
Open tool — JSON to YAMLYAML to JSON
Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.
Open tool — YAML to JSONJSON Diff Checker
Compare JSON values and see added, removed and changed paths.
Open tool — JSON Diff CheckerXML to JSON
Convert XML to an ordered JSON tree with attributes, namespaces and mixed content.
Open tool — XML to JSONJSON Pointer Resolver
Look up a value in JSON and copy its pointer, URI fragment or exact JSON.
Open tool — JSON Pointer ResolverJSON Lines Converter
Convert JSON Lines and JSON arrays in both directions while keeping the original number spellings.
Open tool — JSON Lines ConverterTOML to JSON
Convert TOML configuration to JSON with documented number and date handling.
Open tool — TOML to JSONYAML Formatter
Format YAML indentation and copy the checked result while retaining comments and source details.
Open tool — YAML FormatterXML Formatter
Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.
Open tool — XML FormatterJSON Formatter & Validator
Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.
Open tool — JSON Formatter & ValidatorJSON to Excel
Convert JSON records to an Excel workbook while keeping long IDs exact.
Open tool — JSON to Excel