Convert HTML design to InDesign (.idml)
convert_to_indesignConvert self-contained HTML designs into editable Adobe InDesign IDML files. Accepts raw HTML, a local .html path, or a hosted URL, returning the output file, required fonts, and a geometry check.
Instructions
Convert a self-contained HTML design into an editable Adobe InDesign IDML file and write it to disk. Provide exactly one of: html (the full document as a string), path (a local .html file; only that one file is uploaded, so inline its CSS, fonts and images first), or url (a public link to a hosted .html). Returns the output path plus pages converted, fonts InDesign needs active, and a geometry check. Designs with images come back as an .idml next to a Links/ folder; keep them together. Without a license key only the first pages convert (free trial) and the result includes the purchase link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of a hosted .html design (a direct link, not a share or app link). | |
| html | No | The complete HTML document to convert (self-contained: inline CSS, fonts via Google Fonts or embedded, images as data URIs or absolute URLs). | |
| name | No | Base name for the output (no extension). Defaults to the source file name or 'design'. | |
| path | No | Absolute or relative path to a local .html file to convert. Only this file is uploaded. | |
| out_dir | No | Directory to write the output into. Defaults to IDMLY_OUT_DIR, else the source file's directory, else the current directory. | |
| platform | No | Which platform's InDesign will open the file (picks glyph-fallback fonts). Defaults to this machine; unknown platforms get free Noto/Source Han fallbacks. |