
Figma Design does not have a complete Export to HTML command. It can export static assets. Dev Mode can give you code snippets for selected objects. Figma Sites can publish a website, but Figma says you cannot export that site's code for external hosting. To receive a complete HTML page, use a code-export plugin or build the page from the design.
If you only need the design online, do not create a code handoff that nobody will maintain. The working Figment route is to open the Figment plugin, choose Publish to website [No-code], and publish the selected frame to a hosted URL. That is publishing, not a downloadable HTML export.
| Method | What you get | Best for | What you do not get automatically |
|---|---|---|---|
| Figma asset export | PNG, JPG, SVG, or PDF files | Images, icons, logos, and fixed-layout documents | A web page, responsive layout, or application logic |
| Dev Mode | CSS, SwiftUI, UIKit, Compose, or XML snippets for a selected object | Developer handoff and design inspection | A complete HTML document or working site |
| Code-export plugin | Generated files in the formats that the plugin supports | A first code draft | Automatic semantics, accessibility, maintainability, or framework fit |
| Figma Sites | A hosted website | No-code publishing inside Figma | Downloadable site code for external hosting |
| Direct-publish plugin | A hosted website made from the selected frame | Designers who need a live URL | A source-code project unless the product proves a separate export path |
| Hand-coded implementation | A codebase built for your stack | Long-lived sites and applications | A one-click conversion |
The key distinction is simple: publishing gives you a URL. Exporting gives you files that you can inspect, run, change, and host somewhere else.
Use Figma's Export section when you need assets, not a page. Figma's current documentation lists PNG, JPG, SVG, and PDF as the static design formats.
These files do not include your layout as HTML. A full-frame PNG may look like the design, but its text, links, headings, and buttons are pixels. It is not a usable website.
Figma Dev Mode shows code in the Inspect panel for the selected object. For web work, you can set the language to CSS and copy the snippet into an editor. Figma says Dev Mode is available on paid plans and needs a Full or Dev seat.
Use these snippets as design specifications. They can give you dimensions, spacing, typography, colors, and layout details for the object you selected. They do not create the surrounding document, content hierarchy, data flow, or responsive system.
Do not assemble a full page by copying one layer at a time. Use the values while you build a coherent component and layout system.
A code-export plugin reads the layer tree and generates a page or component tree. The exact output, framework, plan limit, and download method depend on that plugin. Check its current listing and documentation before you pay.
Input structure matters. Auto layout, reusable components, clear layer names, and consistent variables give the converter more information. Free-positioned layers give it coordinates. No converter can infer a durable component model, correct heading order, or application behavior that the design does not express.
Treat generated code as a first draft until it passes the checklist below.
Anima and Locofy belong to the code-export route in this decision. The important question is not which tool makes the fastest first conversion. It is who will own the files after export.
Choose a code-export workflow when a developer will review the result, fit it into an existing application, and maintain it after handoff. Before you choose a tool, get a sample from your own Figma file and confirm the exact output format, component structure, responsive behavior, and build process. Do not assume that a framework or mobile target is supported because another export format is available.
If nobody will maintain the files, the export creates a second job. You still need hosting and deployment, and you need a process for reconciling a new export with manual code changes. In that case, a hosted publishing route can be the shorter fit.
For either tool, test a second design change before you commit. Export once, make a small code edit, change the Figma design, and export again. The result shows whether your team can preserve manual work or whether each design update becomes a new merge project.
Figma Sites is not an HTML export. It is Figma's hosted website product. You can copy a design frame into a Sites file, add breakpoints, preview it, and publish it to a figma.site address. Figma recommends auto layout for responsive behavior.
Figma's current publishing FAQ answers the portability question directly: it is not currently possible to export a Figma Site's code for external publishing. A local .site copy is a proprietary Figma file, not a folder of deployable HTML, CSS, and JavaScript.
Choose Sites when you want Figma's publishing workflow. Do not choose it when your acceptance test requires files that run on your own host.
Figment's working no-code path builds a hosted page from a selected top-level frame. The plugin lets you choose the primary frame, a Figment subdomain, a page title, and a page description before you publish.
The plugin also has an Export code screen. We inspected that screen and its implementation on September 23, 2026.

Here is the verified boundary:
This finding is narrower than the labels on the plugin and pricing page. Until a real download passes the tests below, use Figment for its hosted publishing workflow. Do not buy it only for a promised HTML archive.
This is still the dependable route when a development team will own the site. A developer uses Figma as the specification, exports the needed assets, and writes semantic HTML and a responsive layout for the chosen stack. The Figma-to-code workflow for coding agents explains how to package that handoff and review the implementation when an agent writes the first version.
This takes more time. It also gives the team control over component structure, accessibility, performance, tests, deployment, and future changes. For a production application or a site that must fit an existing codebase, that control usually matters more than the first conversion speed.
Do not judge an export only by opening its homepage once. Use this checklist:
index.html from disk.alt text, form labels, and landmarks in the HTML.If the output fails these checks, it is a visual draft. It is not a finished handoff.
We inspected an older published Figment site. Its HTML contains design data and image references on Figment's storage service. The initial <main> is empty, so the visible page depends on JavaScript. Copying that HTML alone would not give you an independent, self-contained site.
This sample shows one older published artifact, not the output of a fresh export. We have not verified a current downloadable package. Before you choose any exporter for self-hosting, ask for a sample download and run the checks above. A hosted page and a portable code package are different deliverables.
Use Figma's asset export when you need images or vectors. Use Dev Mode when a developer needs values from the design. Use a code-export plugin when you want a draft and can review the result. Use Figma Sites or Figment when you need hosted publishing and do not need portable source files. Hand-code the design when the codebase itself is the product.
The wrong route is any export that leaves you with files your team cannot run or maintain.
Sources: Figma Help: Export from Figma Design; Figma Help: Export formats and settings for static designs; Figma Help: Use code snippets in Dev Mode; Figma Help: Explore Figma Sites; Figma Help: Move designs from Figma Design to Figma Sites; Figma Help: Publish, update, or unpublish a site; Figma Help: Save a local copy of files.