What Is IDML? The InDesign Format That Makes Translation Easy
If you've ever tried to translate an Adobe InDesign document, you've probably run into the same wall: how do you get the text out, translate it, and put it back — without destroying the layout?
The answer is IDML. It's the format that makes professional InDesign translation actually work, and understanding it will save you hours of manual rework.
What You'll Learn
- What IDML stands for and what it contains
- How IDML differs from INDD and PDF
- Why IDML is the gold standard for InDesign translation
- How to export and use IDML files in your workflow
IDML: InDesign Markup Language
IDML stands for InDesign Markup Language. It's an open, XML-based file format that Adobe introduced with InDesign CS4 as an interchange format.
While an .indd file is a proprietary binary format that only InDesign can read, an .idml file is essentially a ZIP archive containing a structured set of XML files. These XML files describe every element of your document:
- Stories — the text content, organized by text flow
- Spreads — the page layout and frame positions
- Styles — paragraph styles, character styles, object styles
- Resources — fonts, colors, swatches, master pages
- Preferences — document settings and metadata
Inside an IDML File
If you rename an .idml file to .zip and extract it, you'll find a directory structure like this:
my-document.idml/
designmap.xml # Document manifest
Resources/
Fonts.xml
Styles.xml
Graphic.xml
MasterSpreads/
MasterSpread_xxx.xml
Spreads/
Spread_xxx.xml
Stories/
Story_u123.xml # Each text flow is a separate XML file
Story_u456.xml
XML/
BackingStory.xml
The magic for translation lives in the Stories folder. Each story file contains the text content wrapped in style range tags:
<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Body">
<CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]">
<Content>Your original text goes here.</Content>
</CharacterStyleRange>
</ParagraphStyleRange>
This structure means a translation tool can replace the text inside <Content> tags while leaving every style attribute, every tag hierarchy, and every layout instruction completely untouched.
IDML vs. INDD vs. PDF: Why Format Matters
| Feature | INDD | IDML | |
|---|---|---|---|
| Editable text | Yes (InDesign only) | Yes (any XML tool) | Limited |
| Style preservation | Full | Full | Lost on extraction |
| Open format | No (binary) | Yes (XML/ZIP) | Yes |
| Translation-friendly | No | Yes | No |
| Backwards compatible | No | Yes (CS4+) | N/A |
| File size | Large | Compact | Varies |
INDD is InDesign's native format. It preserves everything but it's binary — external tools can't read or modify it reliably.
PDF is great for viewing and printing, but extracting text from PDF strips all InDesign-specific styling. Translating a PDF means starting layout from scratch.
IDML gives you the best of both worlds: full style and layout preservation in an open, parseable format. It's the only format where automated translation can truly preserve your design.
Why IDML Is Essential for Translation
1. Style Tags Stay Intact
When you translate at the IDML level, you're replacing text content inside XML tags — not extracting text, translating it, and trying to reapply formatting. Every paragraph style, character style, nested style, and GREP style survives the translation process.
2. Story IDs Map Text to Frames
Each story in an IDML file has a unique ID that links it to specific text frames in the layout. This mapping means translated text flows back into the exact right frames — no manual placement needed.
3. Anchored Objects Are Preserved
Inline images, footnotes, tables, and other anchored objects are defined within the story XML. Because IDML translation operates on the XML structure, these elements stay exactly where they belong.
4. Cross-References and Hyperlinks Survive
Internal cross-references, hyperlinks, and index markers are all encoded in the XML. A proper IDML translation workflow preserves these without manual re-linking.
5. Backwards Compatibility
IDML files can be opened in any version of InDesign from CS4 onward. This makes IDML the most portable way to share translated documents across teams using different InDesign versions.
How to Export IDML from InDesign
Exporting is straightforward:
- Open your document in Adobe InDesign
- Go to File > Save As (or File > Export on some versions)
- Select InDesign Markup (IDML) from the format menu
- Choose your save location and click Save
The resulting .idml file contains your complete document in XML form, ready for translation.
Pro tip: Always export a fresh IDML right before translation. If you've made changes since your last save, the IDML might not reflect the latest version.
The IDML Translation Workflow
Here's the professional workflow that agencies and studios use:
- Export your source document as IDML
- Upload the IDML to a translation tool that operates at the XML level
- Translate — the tool replaces text content while preserving all markup
- Review — check translations for accuracy and text overflow
- Download the translated IDML
- Open in InDesign — your layout renders with translated text and original styles
TranslateInDesign is built specifically for this workflow. Upload your IDML, select your target language, and get a fully translated IDML file back — with every style, anchor, and layout tag preserved. The platform even flags text that might overflow its frame so you can fix issues before opening in InDesign.
Common IDML Questions
Does IDML support all InDesign features? IDML supports nearly all features. Some very advanced features like certain script behaviors may not transfer, but for text, styles, images, and layout — IDML is complete.
Can I edit IDML files manually? Yes. Since IDML is just XML in a ZIP, you can extract, edit, and repackage it. However, manual XML editing is error-prone for complex documents. Purpose-built tools are much safer.
Is IDML the same as INDD? No. INDD is InDesign's native binary format. IDML is an open XML interchange format. They contain the same content, but IDML is readable by external tools.
What happens to images in IDML? IDML references linked images by path. The images themselves aren't embedded (unless they were embedded in the original InDesign file). Make sure linked assets are available when you open the translated IDML.
Summary
- IDML is Adobe's open XML format for InDesign documents
- It preserves all styles, text flows, anchors, and layout structure
- IDML is the only InDesign format suitable for automated translation
- Translation tools that work at the XML level can replace text without touching styles
- Always export a fresh IDML before starting any translation workflow
Want to see IDML translation in action? Upload your IDML file to TranslateInDesign and preview translations free — no signup required.