Skip to tool

Categories

File formats / 11 formats, every pair

XML to HTML converter

Turn XML into HTML — a `table` element with a head and a body — in this browser tab. Paste your XML, copy the HTML: the quoting and escaping HTML needs are applied for you.

On-device prototype

XML to HTML, worked out

3 rows and 4 columns: 21 lines of XML become 30 lines of HTML.

XML in

<?xml version="1.0" encoding="UTF-8"?>
<rows>
  <row>
    <product>Desk lamp</product>
    <region>EU</region>
    <units>128</units>
    <field name="unit price">24.50</field>
  </row>
  <row>
    <product>Chair</product>
    <region>R&amp;D</region>
    <units>64</units>
    <field name="unit price">98.00</field>
  </row>
  <row>
    <product>Monitor</product>
    <region>APAC</region>
    <units>32</units>
    <field name="unit price">249.99</field>
  </row>
</rows>

HTML out

<table>
  <thead>
    <tr>
      <th>product</th>
      <th>region</th>
      <th>units</th>
      <th>unit price</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Desk lamp</td>
      <td>EU</td>
      <td>128</td>
      <td>24.50</td>
    </tr>
    <tr>
      <td>Chair</td>
      <td>R&amp;D</td>
      <td>64</td>
      <td>98.00</td>
    </tr>
    <tr>
      <td>Monitor</td>
      <td>APAC</td>
      <td>32</td>
      <td>249.99</td>
    </tr>
  </tbody>
</table>

HTML result

<table>
  <thead>
    <tr>
      <th>product</th>
      <th>region</th>
      <th>units</th>
      <th>unit price</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Desk lamp</td>
      <td>EU</td>
      <td>128</td>
      <td>24.50</td>
    </tr>
    <tr>
      <td>Chair</td>
      <td>R&amp;D</td>
      <td>64</td>
      <td>98.00</td>
    </tr>
    <tr>
      <td>Monitor</td>
      <td>APAC</td>
      <td>32</td>
      <td>249.99</td>
    </tr>
  </tbody>
</table>

Conversions next to this one

Chosen from where these tools sit in the catalogue — the same workbench, the same category, the same words. Nothing here measures what you or anyone else opened.