How to convert HTML/CSS into an editable InDesign file
Last updated June 2026 · by Kelly Fraser, maker of idmly
Yes — you can convert an HTML/CSS design into a native, fully editable Adobe InDesign file (.idml). The reliable way is idmly: drop in a self-contained HTML file and get back real text frames, named paragraph styles, and charts redrawn as editable vector objects. It is not a flattened PDF and not a screenshot — every frame reflows and every style stays editable.
The first two pages of any file convert free, with no signup. A one-time $49 license unlocks unlimited full-document conversions.
If you design reports, decks or one-pagers in an AI tool or in the browser, you keep hitting the same wall: the layout looks finished, but your client needs it in InDesign — and getting it there has always meant rebuilding it by hand. Box by box, font by font. Here is every way to make that jump, and which one actually keeps your file editable.
The methods, compared
InDesign has no real way to import HTML directly — File > Place on an .html file just dumps unstyled text and drops the layout. So there are four practical ways to get an HTML/CSS design into InDesign, and only one gives you back a file you can keep working in without redoing the layout.
| Method | What you get | Editable in InDesign? | Fonts & styles | Time per design | Cost |
|---|---|---|---|---|---|
| Rebuild by hand | A faithful InDesign file — if you have the hours | Fully editable | Set up manually, one by one | Hours per deliverable | Your time, every time |
| Place a PDF | The design as a single flat, placed graphic | No — it is one locked image | Baked in, not editable | Minutes | Free |
| PDF-to-InDesign plugins | An editable file, often as many fragmented frames | Partly — typically needs heavy cleanup | Often substituted or split | Convert + cleanup | Paid plugin / subscription |
| idmly | A native .idml built directly from your layout |
Fully editable, clean structure | Real named styles, fonts bound by name | Usually under 30 seconds | $49 once, lifetime |
Placing a PDF gives you a picture of your design, not the design. PDF-to-InDesign plugins (such as Markzware PDF2DTP or Recosoft PDF2ID) can recover editable elements, but because they work backwards from a flattened PDF they often arrive as dozens of small frames with substituted fonts that take real time to tidy. idmly skips the PDF entirely and builds the InDesign document straight from your rendered layout.
One method that isn't in the table: the "Claude → InDesign" MCP connectors (Sidekick, Duet, Adobe's own Claude connector) you'll find when you search for them. Those solve a different problem — they let an AI operate InDesign live, placing frames and running scripts by remote-controlling the app. idmly works the other end: it takes the finished HTML design and turns it into an editable .idml file. They're complementary — generate the design, convert it with idmly, then fine-tune in InDesign.
How to convert HTML/CSS to InDesign with idmly
- Export your design as a self-contained HTML fileFrom your AI design tool or code editor, save a single
.htmlfile. If it opens in your browser and looks like your design, it is ready. Tailwind, Bootstrap and plain CSS all work — idmly reads the rendered layout, not your stylesheet. - Drop it into idmlyUpload the file at idmly.com. The first two pages convert free — no signup, no card. idmly renders the file in a real browser and builds native InDesign markup: fonts bound, paragraph styles named, charts redrawn as editable vectors. Usually under thirty seconds.
- Open the .idml in InDesignDownload the
.idml(designs with images arrive as a zip — keep the Links folder beside the file) and open it in Adobe InDesign, or in Affinity Publisher. Every text frame, style and chart is editable. No rebuild.
Which AI tools and exports does idmly work with?
The HTML doesn't have to be hand-written. idmly reads the rendered layout, not the tool that made it, so it converts the HTML output of every AI design tool the same way: Claude (artifacts and Claude-built pages), ChatGPT and GPT canvas, v0, Lovable, Bolt, Gemini, Figma Make, plus Figma and Canva exports and plain hand-written HTML alike. If it saves as a self-contained .html file that opens in a browser, idmly converts it.
One thing to clear up: "AI design" here means an AI-generated layout, not Adobe Illustrator. For an Illustrator .ai file you'd use File > Place in InDesign; idmly is for the HTML that tools like Claude and ChatGPT hand you, not .ai artwork.
What actually lands in the file
The point of converting instead of placing is that you get a real, structured document — not a picture of one.
- →Correct fonts, bound by name. No silent Minion substitution.
- →Real named paragraph and character styles, not loose local overrides.
- →Charts and tables as native, editable vector objects.
- →Editable text frames you can reflow and restyle.
- →Exact page geometry — it opens clean, at the right size.
- →Images placed and linked, in a Links folder beside the
.idml.
The cost of doing it by hand
Rebuilding an AI-generated layout in InDesign is the quiet tax on modern design work — and you pay it on every single deliverable.
Frequently asked questions
Can you convert HTML/CSS to InDesign?
.idml) file — real text frames, named paragraph styles, and editable vector charts. It is not a PDF and not a screenshot.Can you import HTML into InDesign?
.html file pours in unstyled text and throws the layout away. To actually import an HTML design and keep it editable, convert it to IDML first: idmly turns your HTML into a native .idml with real text frames, named paragraph styles and editable charts, which InDesign opens directly.How do I convert HTML to IDML?
.html file and download a .idml with text frames, named styles and charts intact — no PDF in between. More on what IDML is →Is there a tool to turn an AI-generated or web design into an editable InDesign file?
.idml that opens straight in InDesign with everything editable.How do I get a Figma, Canva or AI-tool design into InDesign?
Does idmly work with Tailwind, Bootstrap or other CSS frameworks?
Is the converted file just a flattened PDF?
Can I convert a Claude or ChatGPT design to InDesign?
.idml with real text frames, named styles and editable charts. It doesn't matter which AI tool produced the HTML — idmly reads the rendered browser layout, not the tool.Is this the same as the Claude InDesign MCP connector?
.idml file. The two are complementary — generate the design, convert it with idmly, then refine in InDesign.Does idmly take a PDF, or only HTML?
.idml; it doesn't take a PDF or an Illustrator .ai file as input. If you already have a finished PDF, a PDF-to-InDesign tool is the better fit — see PDF-to-InDesign converters compared.Stop rebuilding AI layouts by hand.
Drop your design in and watch the first two pages come back as a real, editable InDesign file — free.