UBL → JSON / CSV Converter

Get invoice data out of UBL XML in a shape that is easy to use in code or a spreadsheet.

Parsed on your device. The file is never uploaded.

Two JSON shapes

  • Invoice model — a clean, stable structure: supplier, customer, lines, taxTotals, totals, paymentMeans… Amounts are numbers with their currency; namespaces and prefixes are gone. Embedded attachments are summarised instead of dumped as base64.
  • Generic XML → JSON — every element, for when you need something the model doesn't include (see also the XML to JSON converter).

The CSV has one row per invoice line with the invoice number, dates, parties and VAT data repeated — ready for a pivot table.

Is my file uploaded?

No. Conversion runs in your browser; the file never leaves your device. Bank statements, invoices and tax files often contain personal and financial data — that's exactly why nothing is sent to gratistools.be.