SVG is the format the web and most vector tools open. This converter reads an InDesign .idml in your browser and writes each page as an SVG, so a layout made in InDesign can go on a web page or into another design tool without InDesign in between.
One SVG per page
An SVG document holds a single page. A one-page flyer or label downloads as one .svg. A brochure or catalog downloads as a ZIP with one SVG per InDesign page, in page order. Pictures and fonts are embedded in each file, so every SVG stands on its own.
Drop a zipped package for the real pictures
An .idml holds no linked pictures and no fonts. Dropped alone, it converts with placeholders in place of linked pictures and with substitute fonts. Zip the folder that File > Package writes and drop the .zip: the converter uses the pictures in Links and the fonts in Document fonts.
Edit before you download
The pages open in the live Polotno editor before anything is downloaded. Change text, swap a picture, remove the pages you do not need, then click Download SVG. The warnings panel lists what the import approximated.
The same conversion in code
import { idmlToJson } from "@polotno/idml-import";
import { jsonToSVG } from "@polotno/svg-export";
const json = await idmlToJson({ idml: await file.arrayBuffer() });
// An SVG document holds one page, so export them one at a time.
const svgs = await Promise.all(
json.pages.map((page) => jsonToSVG({ ...json, pages: [page] })),
);See IDML import and SVG export for the options.
