Skip to content
IdmlText

InDesign IDML package→ Text CSV + rebuilt .idml

Extract InDesign IDML text to a CSV table and rebuild the file with your edits

An InDesign .idml file is a ZIP of XML stories, and its text is spread over them in an order that is hard to follow by hand. IdmlText reads the package in your browser and gives you a CSV with one row per paragraph, in reading order, with the story ID, paragraph index, paragraph style and text. Upload the edited CSV with the original .idml and you get a new .idml with the text replaced. Nothing is uploaded.

Preview your files
  • Free preview
  • US$5 per document round-trip
  • Files stay on your device
  • No account, no install
idmltext-demo.idml (2 stories, 7 paragraphs)idmltext-demo.idml
InDesign IDML package
Stories in reading order
2
Paragraphs
7
idmltext-demo-edited.idml (rebuilt)Sample result
4 paragraphs replaced in 2 stories1 paragraph with merged character ranges1 table paragraph left unchanged

InDesign IDML packageYou upload

Text CSV + rebuilt .idmlYou download

PrivacyYour file never leaves your device

Four paragraphs rebuilt, one merged range reported, one table paragraph refused

What makes this file tricky

The text of an InDesign document sits in several story files, and its order is set by the frames on the spreads rather than by the file order. Translating or editing a long document means copying text out by hand, and a plain XML rewrite can break the package or drop the character styles.

What the tool accepts

Reads IDML packages saved by InDesign: designmap.xml lists the spreads and stories, and the text is read from Stories/*.xml. The CSV has four columns, story_id, paragraph_index, paragraph_style and text, in reading order, which follows the frames on the spreads. A forced line break in a paragraph is a newline in its cell and a tab stays a tab. Rebuilding replaces only the text of paragraphs whose text changed, and each rebuilt paragraph keeps its tag, its other children and the properties of its first character range. Other character ranges in an edited paragraph are merged into the first one, so their formatting is lost, and the preview reports each one. Paragraphs that hold a table or another paragraph are left unchanged and reported, so edit table cells as their own rows. paragraph_style is read-only. Text on master pages is not read, and the layout, frames and styles are not changed. A CSV row that matches no paragraph is reported and not applied. Checked on a generated package, not one saved by InDesign, and the rebuilt file was not opened in InDesign. Up to 200 MB, read in browser memory.

From source file to export

  1. Open the source file

    In InDesign, choose File, Export and pick InDesign Markup (IDML). Keep this file as the original, because the rebuilt copy is made from it.

  2. Check your preview

    Choose the .idml file here. The table lists each paragraph in reading order, with its story ID, paragraph index, paragraph style and text. Download it and edit only the text column in a spreadsheet, then save it as CSV.

  3. Save the export

    Choose the edited CSV together with the same .idml. Download the rebuilt .idml; the preview lists the paragraphs that changed and any that were left alone.

Read the step-by-step guide

Open IdmlText

Try a sample or open your own files. The preview runs in this browser.

Source files

InDesign IDML package

No files selected.

Preview & export

Text CSV + rebuilt .idml

Choose a file or try the sample to see the result here.

What the sample produces

The sample is a two-story package written by a script, with a heading, a paragraph with a bold lead-in, a forced line break and a table cell. Its stories are listed in the reverse order of the spread. The check reads the extracted table and the rebuilt package with Python's zipfile and xml.etree: paragraph texts, the bold first range, the heading size and the unchanged parts are compared, and the rebuilt package is then read back to the same table.

idmltext-demo-edited.idml (rebuilt)

Paragraphs replaced
4, in 2 stories
Paragraphs merged into the first range
1, reported in the preview
Table paragraph left unchanged
1, reported in the preview

IdmlText and other ways to do the job

Comparison of IdmlText and other tools
ToolWhat it does
IdmlTextThe sample is a two-story package written by a script, with a heading, a paragraph with a bold lead-in, a forced line break and a table cell. Its stories are listed in the reverse order of the spread. The check reads the extracted table and the rebuilt package with Python's zipfile and xml.etree: paragraph texts, the bold first range, the heading size and the unchanged parts are compared, and the rebuilt package is then read back to the same table.
IDML Editor-TranslatorWindows-only portable app on Payhip, listed at a one-time US$49 (US$10 on sale); edits IDML text and keeps styles.
Paper PolyglotOnline InDesign text translation tool with a monthly subscription of about US$12 to US$25 and a limited free version; no one-time price is listed.

The links describe each alternative's documented workflow.

Preview for free. Pay when you download.

Free preview

$0

Open a sample or your own files and inspect the result before deciding whether to export.

Full export

US$5 per document round-trip

Pay once to download the full result shown in your preview.

Already paid? Restore your purchase.

Frequently asked questions

Does it work with every InDesign version?

It reads the IDML layout that InDesign exports, which keeps the same XML structure across versions. The sample is generated by a script rather than saved by InDesign, so open the rebuilt file in InDesign and check it before you use it.

Does it keep the layout and the styles?

The layout, the frames, the styles and the other XML of the package are kept as they are. In a paragraph you edit, the first character range keeps its formatting; other ranges are merged into it, and the preview reports each one.

Does it upload my document?

No. The package and the CSV are read in your browser and nothing is sent anywhere. The CSV and the rebuilt .idml are new files that you download.

How much does IdmlText cost?

The preview is free. Each document round-trip is US$5, charged once at download.

Do my files get uploaded?

Your files are processed in your browser. Stripe handles checkout separately.

Do I need an account to pay or download?

No account is needed. Complete Stripe Checkout and return to this browser to download the result.

Can I come back to finish a paid download?

Open this tool in the same browser and select Restore purchase. Prepared exports are kept locally for up to seven days.

Guides and support

Try IdmlText with a sample

Open the tool and preview the result for free.

Open the tool