Originally published on Crafttor.
Sometimes you do not need a design file at all. You need a page in a browser, fast. A screenshot to HTML conversion skips the hand coding of a first draft and gives you markup you can open, share and edit.
This guide explains how the HTML export in Image to Figma Design works and what the file is good for. It also covers where you should still bring in a developer.
Why go from image to HTML?
There are several practical reasons to turn an image into HTML instead of, or as well as, Figma layers:
- Quick prototypes. Put a static version of a screen online for a stakeholder to click through.
- Developer starting points. Hand over markup with real text instead of a picture to measure.
- Email and documentation. Paste a structured layout into a doc or test page.
- Archiving. Keep a text-searchable version of an old screen you only have as an image.
How the HTML export works
Image to Figma Design reads your screenshot and detects the same things it would place on the Figma canvas: text, shapes, images and icons. Instead of creating layers, it can package the result as a downloadable HTML file.
The plugin offers two modes, and they affect the HTML too:
- Fast uses classic computer vision with shape detection and text recognition. It costs 1 credit.
- Turbo AI rebuilds the screen as nested auto layout frames. It costs 2 credits. Nested structure tends to map more naturally to nested HTML containers.
Convert a screenshot to HTML, step by step
- Install the plugin. Add Image to Figma Design from the Figma Community.
- Open any Figma file. The plugin works on every plan, including the free Starter plan.
- Sign in with a free Crafttor account.
- Add your image. Drag in a PNG, JPEG or WEBP, browse for it, or paste it.
- Pick Fast or Turbo AI. Choose Turbo AI if you want nested containers.
- Choose the HTML output instead of placing layers on the canvas.
- Download the file and open it in your browser.
- Review and edit the markup in your code editor.
What to check when you open the file
Open the HTML in a browser and run through these points:
- Text. Is it real, selectable text? Are words correct?
- Layout. Do sections sit where they should at your screen width?
- Images. Are photos and complex graphics present as images?
- Sizing. Resize the window. Does the layout hold up or break?
Then open it in a code editor. Look at how containers are nested. This tells you how much work it will take to adapt for production.
What screenshot to HTML is good for, and what it is not
Good uses
- A clickable mockup to test a flow with stakeholders.
- A visual baseline that a developer refines into real components.
- Recovering copy and layout from an old screen with no source.
- Teaching yourself how a layout could be structured in markup.
Not a replacement for production code
An image contains no information about behavior. The HTML cannot know:
- What happens when a user clicks a button.
- How a form validates or submits.
- Which data comes from an API.
- How the layout should change on a phone.
- Accessibility details such as labels, roles and focus order.
Treat the export as a fast first draft. A developer will still connect logic, add semantics and fit it into your codebase and framework.
Tips for cleaner HTML
Start from a sharp image. Higher-resolution screenshots, around 1x to 2x of the real UI, give better text and edges.
Convert one section at a time. A hero or card grid on its own produces tidier markup than a whole page at once.
Remove overlays first. Cookie banners and chat widgets become extra elements you then delete.
Crop out busy illustrations. They will come through as images anyway. Cropping keeps the structure focused.
Use Turbo AI for layouts you will keep. Nested structure is closer to how a developer would build it.
HTML file or Figma layers?
You do not have to choose forever. Many teams do both: Figma layers for designers, HTML for a quick demo. If you are working from a full web page, see our guide to converting a website screenshot to Figma.
Permission still applies to code
Generate HTML only from screens you own or have permission to use. For study, rebuild to learn and do not publish copies of other products.
Get your first HTML export
Pick a simple screen, such as a sign-in page or a pricing card, and export it as HTML. Install Image to Figma Design and try it with your free daily credits. For the design-layer route, start with our screenshot to Figma guide.
FAQ
Can I convert an image to HTML without coding?
Yes. Image to Figma Design can export a downloadable HTML file from a screenshot. You can open it in any browser without writing code.
Is the HTML production-ready?
Treat it as a first draft. It captures layout and text, but a developer still needs to add interactivity, accessibility and integration with your codebase.
Which mode gives better HTML?
Turbo AI builds nested auto layout structure, which usually maps better to nested containers. Fast is quicker and cheaper for simple references.
What image formats work?
PNG, JPEG and WEBP are supported. PNG usually gives the sharpest text because it is lossless.
Top comments (0)