
If you have an image and you want to edit it in Figma, you have three options. You can drag it in as a flat image and trace it by hand (slow). You can re-create the design from scratch using the image as a reference (slower). Or you can convert the image to editable Figma layers with AI.
This guide is about the third option. Codia AI converts UI images — screenshots, mobile screens, web pages, dashboards, mockups, and wireframes — into a Figma frame with editable text, real shapes, photos and icons as their own image layers, and a grouped layer hierarchy, with Auto Layout on some detected rows and stacks. Clear, high-contrast sketches and photos of screens can work too, with more cleanup. Most screens are ready to edit in minutes.
Use Codia Screenshot to Figma to turn screenshots and UI images into editable Figma layers before redesigning, comparing, or handing off the interface.
What "Image to Figma" Means
"Image to Figma" is the broader keyword family for AI conversion of visual inputs into editable Figma designs. It covers:
When you reach the rebuild step, open Codia Screenshot to Figma and convert the reference image into editable layers before refining the design.
- Screenshot to Figma — the most common case (UI captures)
- Mockup to Figma — designs from PNG/JPG mockups
- Wireframe to Figma — black-and-white wireframe images
- Sketch to Figma UI — photos of hand-drawn UI sketches
- Illustration to Figma — converting brand artwork into layered files
- Screenshot to UI design — same intent, different phrasing
All of these run through the same Codia AI conversion pipeline, which is built for UI images: app screens, web pages, dashboards, and mockups. Sketches and illustrations can work when the image is clear and high-contrast, but expect more cleanup. The differences are in what to expect from the output.
Supported Image Formats
Codia AI accepts three image formats:
- PNG (recommended) — lossless, preserves crisp edges
- JPG / JPEG — works fine for clean captures, but compressed JPGs lose icon and small-text detail
- WebP — supported
GIF, SVG, and PDF are not image inputs for this conversion. PDFs have their own workflow — see PDF to Figma — and if you need vector output, see Image to SVG.
Best practice: use a fresh PNG captured from the source whenever possible. Photos of screens, re-encoded JPGs, and low-resolution thumbnails all reduce output quality.
How the Conversion Works
The pipeline runs four steps under the hood:
- Vision analysis. Codia AI Vision identifies regions of the image: text blocks, buttons, cards, navigation, images, icons, decorative elements.
- OCR. Text is extracted with positions, font sizes, and color information preserved.
- Layout reconstruction. The flat image is rebuilt as a Figma frame with a nested layer tree. Auto Layout is applied to some rows and stacks where a flex-like layout is detected; most layers are absolutely positioned.
- Layer grouping. Related elements are grouped into a layer hierarchy, and photos and icons become their own image layers. Repeated elements (cards, list rows, buttons) stay as grouped layers — turning them into components is up to you.
The result is a Figma file you can actually edit — not a screenshot embedded inside a frame.
What Survives the Conversion
Usually clean
- Text content and font sizes — recovered via OCR
- Color values — fills sampled from the source
- Layout structure — boxes, rows, grids, columns as grouped, nested layers
- Image regions — extracted as their own image layers
- Simple icons — kept as their own image layers
- Buttons, inputs, and form fields — rebuilt as grouped shape and text layers when shape and styling are clean
Needs review
- Fonts — name is best-effort; missing fonts fall back, original name preserved
- Auto Layout — only on some detected rows and stacks; most of the frame is absolutely positioned
- Complex icons and illustrations — come through as raster image layers; vectorize manually or with Image to SVG
- Overlapping elements — hardest to separate; may need cropping and re-running
- Gradients and effects — solid gradients fine, complex multi-stop or radial gradients approximated
Step-by-Step
- Choose your image. Best results come from clean PNG captures.
- Crop irrelevant area. Remove browser chrome, status bars, watermarks, and other elements you don't want in the Figma file.
- Upload to Codia AI — in the Figma plugin, or in Codia Studio in your browser and then use Copy to Figma.
- Run the conversion. Most screens are ready to edit in minutes.
- Open in Figma. Each conversion lands as a Frame with structured layers.
- Review and clean up. Check text, fonts, colors, layer grouping, Auto Layout.
- Componentize repeating elements so the file is useful for ongoing design work. The conversion gives you grouped layers, not components; promoting repeated cards, rows, and buttons takes a few minutes.
Use Cases by Source Type
UI Screenshot
The most common case. See the dedicated Screenshot to Figma guide for scenario-specific tips (mobile, dashboard, landing page, e-commerce).
Wireframe Image
Wireframes convert well — clean rectangles, clear labels, minimal styling. The result is a Figma file you can immediately apply a design system to.
Hand Sketch (Photographed)
Codia is built for UI images, not sketches, but a clear, high-contrast sketch can work. Photograph it on a flat surface with even lighting; distinct rectangles and readable handwriting give the best chance, and you should expect more cleanup than with a screenshot. Hand-drawn artistic illustration is a poor fit.
Mobile App Mockup PNG
Same workflow as a screenshot. If the mockup is at 1x, upload at 2x or 3x for cleaner icon recognition, as long as the upscaled image stays within your plan's size limit (1440 × 1440 px on the free plan).
Marketing Asset / Banner
Banners and ad creatives convert into editable Figma frames. Heavy photo overlays and stylized typography may need manual cleanup, but the basic layout structure and text recovery work well.
Illustration / Brand Artwork
Illustrations are not what the conversion is built for — expect them to come through mostly as image layers rather than vectors. If you need editable vectors, Image to SVG is a complementary tool.
Image to Figma vs Screenshot to Figma vs Photo of a Screen
The three intents are closely related but not identical:
| Source | Tool | What to expect |
|---|---|---|
| Screenshot (PNG) | Codia AI | Highest fidelity — fresh capture, crisp edges, perfect OCR conditions. |
| Image (PNG/JPG/WebP) | Codia AI | Same pipeline; quality varies with source quality. |
| Photo of a screen (camera) | Codia AI | Can work for clear, high-contrast photos, but expect more cleanup — reflections, moiré, rotation hurt every step. |
If you have the option to capture a screenshot rather than photograph a screen, always prefer the screenshot.
What to Review After Conversion
Treat the output as a high-quality editable draft, not a finished design system. Review:
- Text. Editable? Line breaks correct? OCR confused any similar characters?
- Fonts. Substitutions look right?
- Colors. Sampled values correct? The conversion doesn't create color styles — map them to your own styles afterwards.
- Icons. Image layers you want to keep, vectorize, or replace?
- Components. The output has no components — which repeated elements should you promote?
- Auto Layout. Present only on some detected rows and stacks — which containers need it for responsive behavior?
API and Batch Processing
For volume (catalog migrations, design audits, automated ingestion), use the Visual Struct API. It accepts images and returns structured JSON your tooling can convert into Figma or feed into downstream design pipelines. Batch endpoints process many images at once, with webhook callbacks when they finish.
FAQ
What's the difference between "image to Figma" and "screenshot to Figma"?
They're used interchangeably most of the time. "Image to Figma" is broader — any image input. "Screenshot to Figma" specifically implies UI screen captures. Codia handles both with the same workflow.
Can I really edit the text after conversion?
Yes. OCR extracts the text and the output is a real Figma text layer that you can edit like any other.
What if my image has handwriting?
Clear hand-printed letters in structural contexts (wireframe labels, callouts) can OCR, but expect to fix some text. Cursive handwriting is harder.
What if my image is low resolution?
Try upscaling to 2x or 3x before uploading, keeping the result within your plan's size limit (1440 × 1440 px on the free plan). AI upscaling tools work; the goal is to give the conversion clearer pixel boundaries.
Can I convert an illustration into editable vectors?
UI shapes such as rectangles and cards come through as editable shapes, but icons and artwork stay image layers. For vectors, Image to SVG is the better tool.
Is there a free tier?
Yes. The free plan gives you 5 AI credits every month for images up to 1440×1440 px and 5 MB, with no credit card required. Paid plans add more volume.
Is there a Figma plugin?
Yes — install Codia AI Design from Figma Community.
Related Guides
- Screenshot to Figma: The Complete Guide
- Codia vs image.to.design: Detailed Screenshot-to-Figma Comparison
- Screenshot to Figma with Cursor and the Figma MCP Server
- Image to SVG: Convert PNG and JPG Logos into Editable Vectors
- PDF to Figma: Convert Static PDFs into Editable Design Files
- Visual Struct API: Convert UI Screenshots into Structured JSON