Pro Calculators and Guides

How to Clean Up a Translation Memory (TMX) Before It Hurts Quality

A practical guide to cleaning TMX translation memories: merging files, removing duplicates, fixing inconsistent translations and converting to Excel.

Saizul Amin
Saizul Amin2 Nov 2026 · 4 min read
How to Clean Up a Translation Memory (TMX) Before It Hurts Quality

How to Clean Up a Translation Memory (TMX) Before It Hurts Quality

A translation memory starts small and tidy. After a few years of projects, several translators, a change of CAT tool and a client who sent their own legacy memory, it is usually a mess. The memory still proposes matches, but some of them are outdated, some contradict each other, and some are plain wrong. Because translators trust 100 percent matches, a dirty memory spreads its mistakes into every new job. This guide explains what typically goes wrong inside a TMX file and how to fix it in a structured way with the free TMX Translation Memory Editor, which works entirely in your browser.

What a TMX file contains

TMX stands for Translation Memory eXchange. It is an XML format in which every translation unit holds the same sentence in two or more languages. Each language version sits in its own variant element with a language code such as en-US or de-DE, and the text can contain inline codes that stand for formatting, for example a bold start and end or a line break. Units can carry notes and properties such as the project or the client. Because nearly every CAT tool can export and import TMX, it is the safest format for moving or archiving a memory.

The five most common problems

The first problem is plain duplication. The same pair of sentences was stored again and again, often from different projects. Duplicates are harmless for matching but inflate the memory and make review slow.

The second problem is inconsistency: one source sentence with two or more different translations. Sometimes both are valid in different contexts, but often one of them is an old wording that the client later changed. A CAT tool will offer both as perfect matches, and a busy translator will pick either.

The third is the reverse: one translation linked to several different sources. This often shows a confirmed wrong match, where a translator accepted a fuzzy match without editing it.

The fourth is junk: empty targets, targets that are only a copy of the source, segments with stray spaces at the start or end, and double spaces in the middle.

The fifth is broken tags, where formatting codes went missing during an earlier conversion. That produces errors when the match is inserted into a new document.

A clean-up workflow that works

Start by opening every memory you want to keep together. Merging several files first is better than cleaning each one separately, because duplicates and inconsistencies across files only become visible when they are in one place. The editor combines the language columns and keeps units that are identical in every language only once.

Next, choose the language pair you care about. If the memory holds English, German and French, check English to German first, then switch the target column to French. The duplicate and inconsistency list always refers to the pair you have chosen.

Then run the automatic clean-up. Trimming outer spaces and collapsing double spaces is safe in almost every case. Removing units with an empty side and removing exact duplicates is safe too. Removing units where the target equals the source needs more thought: for product names, codes and numbers a copy is correct, so leave that option off unless your memory is plain prose.

Now work through the inconsistencies by hand. This is the part no tool can do for you, because only a person can decide which wording is current. Tap a group to see just those units side by side. Delete the outdated translation, or edit it to match the approved term. If you are unsure, add a note to the unit and leave it for the client's reviewer.

Finally, use search and replace for systematic changes. A renamed product or a new term is best handled with one replacement limited to the target language, so the source text stays untouched. Regular expressions help when the old name appears with different version numbers.

Working with reviewers in Excel

Many reviewers prefer a spreadsheet to any CAT tool. Export the memory as Excel, send it, and import the corrected sheet again. The editor writes one column per language, plus an id and a note column, and keeps inline codes as raw text so they survive the round trip. When the sheet comes back, open it and save a fresh TMX.

Habits that keep a memory healthy

Clean the memory at the end of each large project rather than once every few years. Keep a separate memory per client or subject when terminology differs. Store notes on units that were deliberately translated differently, so the next person does not merge them by mistake. And keep a backup of the original export before any clean-up, because no tool can guess what you meant to keep. The editor's undo history helps during a session, but it is not a long-term archive, and nothing here replaces a careful human review of the units that really matter.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages