1. Home
  2. Writing & text tools
  3. Parallel Text Aligner (Bilingual)

Parallel Text Aligner (Bilingual)

Line up a story and its translation for language study, build a translation memory from past work for a CAT tool, or check that no sentence was left out of a translation.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Parallel Text Aligner (Bilingual)

  1. Paste the original and the translation.
  2. Check the side-by-side rows; split or merge any that are off.
  3. Export TMX, CSV or TSV.

Features

  • Gale–Church length-based alignment for any pair of languages
  • One sentence may become two, or nothing
  • Least certain rows highlighted
  • Split and merge buttons for manual fixes
  • TMX 1.4 for OmegaT, Trados and memoQ; CSV and TSV

Supported formats

You can open

  • Typed or pasted text
  • TXT

You get

  • TMX
  • CSV
  • TSV

Private by design

Your files are opened and processed by your browser on this device. They are never uploaded to openWorkstand or anyone else, so the Parallel Text Aligner (Bilingual) is safe for contracts, IDs, photos and work documents. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Length-based alignment can drift when whole sentences are added or dropped; check the highlighted rows.

Guide

Aligning a text with its translation, sentence by sentence

A text and its translation side by side, sentence by sentence, is useful to many people. Language learners read a story in a new language with the original as a guide. Translators turn their past work into a translation memory so their tools can suggest matches. Researchers build parallel corpora, and editors check that nothing was left out. Aligning by hand takes hours; this tool does it in a moment and lets you correct the result.

Splitting into sentences

Both texts are split into sentences first. A sentence ends with a full stop, question mark, exclamation mark or ellipsis, including Arabic and Devanagari marks, when the next word starts with a capital, a digit or a quotation mark. Common abbreviations such as Dr., Mr., e.g. and single initials do not end a sentence. In Chinese and Japanese, the full-width marks 。!? end sentences. Paragraph breaks are always boundaries.

How the alignment works

The method, published by William Gale and Kenneth Church in 1993, rests on a simple observation: long sentences tend to translate into long sentences and short ones into short. It compares the lengths of sentences on both sides, measured in letters and digits, against the overall length ratio of your two texts, and finds the most likely pairing. Most pairs are one sentence to one, but it also allows one sentence to become two, two to become one, and sentences with no counterpart. No dictionary is needed, so it works for any pair of languages.

Checking and correcting

The aligned rows appear side by side. Rows where the lengths fit badly — the least certain matches — are highlighted. If a row is wrong, use the small buttons in each cell: split moves the last sentence of a cell into its own row, and merge pulls the next sentence up into the current row. Undo returns to the automatic alignment. Turn on match scores to see the cost of each row; lower is more confident.

Exporting

TMX (Translation Memory eXchange) is the standard file for translation memories, read by OmegaT, Trados, memoQ, Wordfast and others; set the language codes first. CSV opens in Excel with the two languages in two columns, and TSV pastes into any spreadsheet.

A worked example

The sample is a short English story about a lighthouse keeper and its Spanish translation. Both have five sentences and align one to one, so “Ships passed safely, and nobody ever thanked him.” sits next to “Los barcos pasaban sin peligro y nadie le daba nunca las gracias.” The TMX starts with the pair beginning “El viejo faro se alzaba al borde del acantilado.”

Getting the best results

Paste plain text with the same paragraph breaks on both sides, since paragraphs are hard boundaries that keep errors from spreading. Remove headers, footnotes and page numbers that appear in only one version.

Using aligned texts for language learning

Read the new language first and glance across only when you are stuck, rather than reading both columns line by line. Exported to CSV, the pairs make ready-made flashcards for apps such as Anki: one column on the front, the other on the back.

Compare two versions of a text with the Diff Checker, count words in each language with the Word Counter, listen to the translation with Text to Speech, or dictate a translation with Speech to Text.

Checked against the current version of the Parallel Text Aligner (Bilingual) on .

Troubleshooting

The file does not open

Check that it is one of the supported formats above and opens in another app. Damaged files and password-protected PDFs cannot be read until they are repaired or unlocked.

It is slow or stops on a very large file

Everything runs on your device, so speed depends on its memory. Close other tabs, use a computer rather than a phone, or split the file into smaller parts first.

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

Which language codes should I use in the TMX?

Use the codes your translation tool expects, usually two-letter ISO codes with an optional region, such as en, es, fr-CA or pt-BR. Edit them in the small boxes next to each text before exporting; they are written into every translation unit.

Does it work with Chinese or Japanese?

Yes. Sentences end at the full-width 。!? marks, and lengths are counted in characters, which the method compares as a ratio. Because Chinese sentences are much shorter in characters than their English versions, that ratio is measured from your texts rather than assumed.

What if the translation has an extra paragraph?

The method allows a sentence on one side with nothing on the other, so an added or missing sentence usually shows as a row with an empty cell. A whole extra paragraph can pull nearby rows out of line; fix the first wrong row and the rest follow.

How does the alignment work without a dictionary?

Translated sentences are roughly proportional in length to their originals. The Gale–Church algorithm uses that ratio, measured on your two texts, to find the most likely pairing, allowing for sentences that were split, joined or dropped.

What is a TMX file?

Translation Memory eXchange, the standard format for translation memories. Import it into OmegaT, Trados, memoQ or Wordfast to reuse the aligned sentences as suggestions in future translations.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.