Ship a PSD's contents as a webpage without losing the layout. Drop the file above and get a single self-contained HTML file with the design rendered as inline SVG — no external assets, no plugin, no Photoshop, no server.
Single file, no external assets
The output is one .html file. Every image is embedded as a data: URL, every text run is in inline SVG, the styling is inline. You can email it, attach it to a ticket, host it on any static site, drop it in S3 — without managing a separate asset folder.
Layout-preserving, text still selectable
The PSD canvas renders as inline SVG inside a <section> wrapper, so positions, fonts, and colors match the source. Text layers come out as <text> inside SVG, which keeps them selectable and copyable in modern browsers — useful when the recipient needs to copy a line out of the PSD without running it through an OCR pass.
Edit during conversion
As soon as the PSD parses, it loads into the live Polotno editor. Edit text, change colors, move layers, drop in new images — then click Download as HTML in the editor toolbar. Useful when a PSD is 90% of what you want to share as a single-file webpage and one section needs reworking.
The same conversion in code
import { psdToJson } from "@polotno/psd-import";
import { createStore } from "polotno/model/store";
const buffer = await file.arrayBuffer();
const json = await psdToJson({ psd: buffer });
const store = createStore({ key: "YOUR_KEY" });
store.loadJSON(json);
await store.saveAsHTML({ fileName: "design.html" });Full API reference: PSD Import and the Import & Export overview (HTML export section).
