xmltoolskit.org
XML utilities, in the browser
Say hi →

CSV to XLIFF

updated 20 November 2026 · XLIFF 1.2 · XLIFF 2.0 · pairs with XLIFF to CSV

The return trip: give it the original XLIFF file and the CSV the translator filled in, and it writes each translation into the right <target> — matched by id, with the inline tags rebuilt from the source — and leaves every other byte of structure alone, so the file goes straight back into the system that exported it.

csv → xliff
Original XLIFF
Drop the original XLIFF, or
Translated CSV
Drop the translated CSV, or
Merged XLIFF
ready

CSV to XLIFF

The CSV needs an id column and a target column (a translation column is accepted too); state, segment and file are used when present. Any other columns — source, notes, a reviewer's comments — are ignored, and so is their order.

How to use it

  1. Paste or drop the original XLIFF on the left — the same file the CSV was made from with XLIFF to CSV.
  2. Paste or drop the translated CSV on the right.
  3. Read the status line and the list under the panes: how many targets were updated, added or left alone, and any row that could not be merged.
  4. Download the merged file and import it back into your CMS, app or CAT tool.

What the merge changes — and what it does not

Rows that are rejected

A row is left out, and listed in red, when its placeholders do not add up — <3> where the source only has two codes, a pair closed in the wrong order, a standalone code written as a pair — or, in markup mode, when the cell is not well-formed XML. Ids that do not exist in the file are listed too. Everything else is still merged, so one bad cell does not cost the whole batch.

FAQ

What does "detect" do for inline codes?

It looks at the CSV: numbered tags such as <1/> mean placeholder mode, XLIFF element names such as <g id="1"> or escaped entities such as &amp; mean markup mode. Pick the mode yourself if the sheet has no inline codes and no special characters at all — then the two are the same.

The same id appears in two files of my XLIFF.

Ids only have to be unique inside one <file>. XLIFF to CSV adds a file column whenever the document has more than one, and the merge uses it; a row without it that matches in several files is rejected rather than guessed.

Can I merge a CSV produced by another tool?

Yes, as long as the header row names an id column and a target (or translation) column and the ids are the XLIFF unit ids. Comma, semicolon and tab delimiters are detected.

Related tools

Privacy

100% client-side. Both files are read and merged in your browser; nothing is uploaded. See the privacy policy.