Turn any screenshot
into working HTML
or Figma layers

Real code, not an image embed: layout, typography, colors, spacing and images. Two ways to convert — pick yours.

Web app

Convert in your browser

Nothing to install. Drop a screenshot, then copy the HTML — or paste the result into Figma as layers.

Drop an image to convert

Paste from clipboard, or click to browse

You get
  • HTML + assets
  • Figma layers, copy & paste
Figma plugin

Convert inside Figma

Run it from your file. Screenshots land straight on your canvas as editable layers — no tab switching.

The image.to.design Figma plugin importing a screenshot as editable Quality layers, with a Convert button.
You get
Figma layersGet the plugin
Or use the API
APIapi.divriots.com/v1

Convert screenshots with the API

Plug screenshot-to-code into your own app, script or pipeline. POST /convert, poll the job, then download the HTML and its images — no browser tab, no plugin, nobody dropping files.

input.effort — pick one

The default. The quality / speed / cost balance — what you get if you omit the field.

Image cost is variable: it depends on the effort and the image's complexity. Output as Tailwind CSS or inline styles.

curl https://api.divriots.com/v1/convert \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": { "format": "image",
"url": "https://…/screenshot.png",
"effort": "balanced" },
"output": { "format": "html-tailwindcss" }
}'
Response100+ credits · ~5–10 min
202Accepted · job queued
200GET /convert/jobs/{jobId}"done"

resultUrl → ZIP with the HTML and its images

  • result.zipZIP
  • index.htmlHTML
  • metadata.jsonJSON
  • images/hero.pngPNG
  • images/logo.svgSVG

How it works

  1. The drop zone reading “Drop an image to convert”.

    1 · Upload

    Drop a screenshot or photo — any format the plugin takes, from PNG to HEIC and RAW. Paste from clipboard works too.

  2. A converting spinner with “Please wait” copy.

    2 · Wait

    Pick a quality tier — Vectors, Quick, Quality, or Max — and the tool analyzes visual structure. No prompt to write.

  3. Copy HTML, Download .zip and Copy to Clipboard actions.

    3 · Ship

    Copy the HTML, download it, or copy the result as Figma layers and paste straight into Figma. Vectors gives an SVG to copy or download.

image.to.design vs the alternatives

Most image-to-HTML tools just embed your picture in an <img> tag. LLMs like ChatGPT or Gemini get closer, but struggle with layout precision and downscale or cut your image before processing. image.to.design is purpose-built for UI reconstruction. Here's how they compare.

How image.to.design compares with basic image-to-HTML converters and general-purpose AI tools when turning a screenshot into code.
What you get backBasic convertersGeneral-purpose AIimage.to.design
Layout reconstructionNone — the image in an <img> tagApproximate spacingReal flexbox & grid, nested
TextNot extractedEditableEditable
FontsNot extractedMostly matchedClose match
Colors & gradientsBaked into the pixelsClose to the sourceSampled as CSS values
ImagesNot separatedAI-generated stand-insCut out of the source
IconsNot separatedAI-generated stand-insMatched against icon libraries or rebuilt as vectors
Max input heightAny — nothing is read~2,000–4,000px, then silently croppedUp to 100,000px
OutputImage wrapped in HTMLRaw HTMLHTML + assets, or editable Figma layers
Try it on your screenshot

What gets converted

  • Text & typography

    HTML

    Headings, body text, labels — extracted and placed into the right HTML elements with matched font sizes, weights, and colors.

    Figma

    Extracted as real, editable Figma text layers with matched font, size, weight, and color.

    A hero headline rebuilt as styled text.
  • Layout structure

    HTML

    Rows, columns, cards, and spacing translated into flexbox and CSS positioning.

    Figma

    Rows, columns, cards, and spacing rebuilt as native auto layout frames — smart-named and properly nested.

    A multi-column dashboard layout.
  • Colors & backgrounds

    HTML

    Sampled from the screenshot and applied as CSS values. Gradients included.

    Figma

    Sampled from the screenshot and applied as native Figma fills. Gradients included.

    Concentric gradient rings sampled as CSS.
  • Images & icons

    HTML

    Photos and illustrations are cut and extracted where possible.

    Figma

    Photos and illustrations extracted as bitmap assets and placed right where they belong in the layer tree.

    Product photos of a smartwatch, cut out and extracted.

The tool works from a flat image — it can't infer hover states, animations, or JS interactions. You can add those after.

Pricing

Credit cost varies by image complexity.

  • Starter

    Free trial

    No credit card required.
    First conversion on us.

    Signup
  • Level upNeed more?

    Upgrade your subscription any time — every ‹div›RIOTS product, one plan.

    Upgrade

Contact us

If you have feedback, suggestions, or want to report a bug, please email us at [email protected] or join our community on Discord.