Skip to tool

Categories

File formats / 11 formats, every pair

LaTeX to XML converter

Turn LaTeX into XML — a row element per record, a child element per column — in this browser tab. Paste your LaTeX, copy the XML: the quoting and escaping XML needs are applied for you.

On-device prototype

LaTeX to XML, worked out

3 rows and 4 columns: 9 lines of LaTeX become 21 lines of XML.

LaTeX in

\begin{tabular}{llll}
  \toprule
  product & region & units & unit price \\
  \midrule
  Desk lamp & EU & 128 & 24.50 \\
  Chair & R\&D & 64 & 98.00 \\
  Monitor & APAC & 32 & 249.99 \\
  \bottomrule
\end{tabular}

XML out

<?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>

XML result

<?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>

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.