Someone sent you an InDesign file and you do not have InDesign. Drop the .idml here and it opens in your browser: every page, with its text, pictures, shapes and tables as separate elements you can read, change and export. Nothing is uploaded.
IDML opens here. INDD does not.
InDesign saves two kinds of file. The .indd is its working document, a binary format that only InDesign reads. The .idml is the same document written as a zip of XML files, meant for other software. If you were sent an .indd, ask the sender to open it in InDesign and choose File > Save As with the IDML format. It takes them a few seconds, and the result opens here.
Bring the pictures and fonts: drop a zipped package
An .idml on its own carries no linked pictures and no fonts. Dropped alone, it opens with grey placeholders in place of linked pictures and with substitute fonts. For the real thing, InDesign's File > Package command collects the document, a Links folder and a Document fonts folder into one folder. Zip that folder and drop the .zip. The viewer finds the .idml inside, takes each linked picture by its file name, and uses the TTF and OTF fonts. Placed PDF, Illustrator and Photoshop files in the package become editable elements too.
Pages open as editable elements
The document is not turned into one picture per page. Text frames arrive as text, with their fonts, sizes and colors. A story threaded through several frames becomes one text element per frame. Pictures, shapes and lines are separate elements, and InDesign tables become tables. CMYK swatches stay CMYK.
You see what did not come through
InDesign has features a browser editor cannot repeat exactly. The warnings panel above the editor lists each one found in your file: a substituted font, a missing linked picture, overset text that InDesign hides, an effect that is not drawn. The full list of limitations is in the docs.
Put this viewer in your own app
This page is a thin wrapper around Polotno SDK. The import is the package you install:
import { idmlToJson } from "@polotno/idml-import";
// IDML in: one page per InDesign page, every frame an editable element
const design = await idmlToJson({
idml: await file.arrayBuffer(),
fonts: documentFontFiles, // the package's "Document fonts" folder
resolveLink: async ({ name }) => linksFolder.get(name) ?? null,
onWarning: (w) => console.warn(w.code, w.message, w.details),
});
store.loadJSON(design);
// ...the user views and edits in <Workspace store={store} /> ...See IDML import for the options, and PDF export for the output.
