XML to Table ConverterXML to Table
Nothing here yet. Paste XML into the editor (Ctrl+V) or press Sample to see three SIM subscribers.
Reading XML records as rows
An HSS export or a SOAP response comes back as a run of <subscriber> elements, each nested a few levels deep, and eyeballing which <imsi> belongs to which <msisdn> across a few hundred of them is slow going. The page parses the XML with the browser's own DOMParser, finds the repeating element, and lays one row per element with a column per child tag or attribute: the same record you'd have scrolled past a dozen times, now something you can sort and filter.
Attributes land in their own columns next to child elements, a nested child that itself has children becomes an expandable cell rather than a stringified blob, and mixed content (a wrapper element that has both text and child tags, which most XML-to-table code drops entirely) comes through under a #text column instead of vanishing. Paste your XML on the left; there is no button to press for the conversion itself. For the underlying rules, see the W3C XML home page or the MDN introduction to XML.
How to Use XML to Table Converter
- Paste the XML – Paste a document into the left editor, or press Sample to load a small subscriber export and see what the table makes of it.
- Let it find the records – As soon as the document is well-formed, the repeating element is picked out and each one becomes a row. The table follows every edit, so there is no Convert button.
- Narrow it down – The search box matches across every column at once; the per-column filters are for when you already know which field you care about, such as every row whose <code>roaming</code> is <code>true</code>.
- Open nested elements – A child element with children of its own shows as a small chip with its key count. Click it and the element opens as a table under its row, or press Expand All to open every nested value at once.
- Sort a column – Click a header to sort by it and click again to reverse. Sorting by <code>imsi</code> is the fastest way to spot two records that should have been one.
- Flip Rows and Columns – "Flip Table" transposes the main table: useful when a record has more fields than there are rows to show them, so each subscriber becomes a column instead. "Flip Nested" does the same for an expanded nested table.
- Give it the whole window – Maximize hides the editor and lets the table fill the screen, which helps once a record has more columns than fit beside the XML.
Pro Tip: If a column you expected is missing, the element probably sits one level deeper than the repeating record. Expand that cell, or use Flip Nested to read the inner table with its fields running down the side.
Example
A list of active mobile subscribers exported from an HSS as XML. Each <subscriber> element on the left renders as a row in the table on the right: styled like the live tool above.
<subscribers> <subscriber> <msisdn>447700900142</msisdn> <imsi>234150999912345</imsi> <plan>Unlimited 5G</plan> <roaming>true</roaming> <rsrp>-92</rsrp> </subscriber> <subscriber> <msisdn>447700900458</msisdn> <imsi>234150999967810</imsi> <plan>Pay As You Go</plan> <roaming>false</roaming> <rsrp>-104</rsrp> </subscriber> <subscriber> <msisdn>447700900773</msisdn> <imsi>234150999934562</imsi> <plan>Business 200GB</plan> <roaming>true</roaming> <rsrp>-78</rsrp> </subscriber> </subscribers>
| msisdn | imsi | plan | roaming | rsrp |
|---|---|---|---|---|
| 447700900142 | 234150999912345 | Unlimited 5G | true | -92 |
| 447700900458 | 234150999967810 | Pay As You Go | false | -104 |
| 447700900773 | 234150999934562 | Business 200GB | true | -78 |
Common Use Cases
Reading a SOAP response
A provisioning call succeeds, yet the wrong subscriber got the new plan, and the answer is somewhere three namespaces deep in the response. Paste the envelope, let the table pick out the repeating <subscriber> elements and sort by msisdn: a duplicate or a missing record shows up as a row out of place. If the page reports a parse error instead, the W3C validator gives a second opinion on where the document breaks.
Checking an export before it is imported
Sitemaps, product feeds and provisioning batches are long runs of the same element. In a table, an empty <lastmod> or an <apn> spelled two different ways stands out in its column long before you would notice it in raw markup. If attributes and child elements still blur together, MDN's XML documentation is a short refresher.
Spot-checking against a schema
A table is not an XSD validator, but it answers the first question quickly: does every record carry the elements the schema says it must? A missing element leaves an empty cell in its column, and twenty empty cells in a column of two hundred is a pattern worth chasing. For questions about what a document may legally contain, the XML 1.0 specification is the authority.
Frequently Asked Questions
Does the XML go to a server when I convert it?
Not for the table. The browser's DOMParser reads the document in this tab and the rows are built there, so a SOAP response full of subscriber details can be inspected without anything leaving your machine. Save is the one deliberate exception: it stores the document so the link it hands back opens on someone else's screen, for the period you pick. The privacy policy says what is kept and how to have it removed.
What happens if my XML is not well-formed?
The table is replaced by the parser's reason, with the line and column pulled out of it, for example line 4, column 12. The usual causes are an unclosed tag, an end tag that does not match its start (<msisdn> closed by </MSISDN>; XML is case-sensitive), or a bare & in a value that should have been written &. Fix that spot and the table comes back. If you're stuck, Stack Overflow's XML community has answers to thousands of common XML problems.
How big a file can it open?
The page sets no limit of its own; your browser's memory does. DOMParser reads a few megabytes without trouble, but a table of tens of thousands of rows gets sluggish to scroll and filter. For a large feed, paste just the repeating block you care about, or convert it with XML to CSV and open the result in something built for big files.
How are attributes and nested elements shown?
Attributes on an element become their own columns alongside child elements. Nested child elements appear as a chip such as { } 3 keys: click it to open that element as a small table under its row, or use the "Expand All" and "Collapse All" buttons to do them all at once.
How does the table read on a phone?
Yes, with one adjustment to how you read it. At 768px wide and below the XML editor sits on top, taking about 40% of the screen height, and the table gets the remaining 60%. A record with a dozen child tags is wider than a phone, so the table scrolls sideways; tapping Flip Table turns each record into a column instead, which is usually easier to read one subscriber at a time.