A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the UI Clone from Screenshot page

Tools / Build suite

UI Clone from Screenshot

Drop a UI screenshot; get an editable HTML and CSS approximation to start from

Redesigns, competitor teardowns, handoffs from a mockup nobody has the source for - drop the screenshot and get a structured read of the layout, then a single-file HTML and CSS starting point you actually edit. It is an approximation with the structure right, not a pixel-perfect forgery.

Open the tool
Screenshot of the UI Clone from Screenshot tool

What it does

What it does.

A spec before code

The screenshot is first read into a written layout spec - sections, text, colors, alignment - that you can check before any code is generated.

Two visible steps

You see what the model thinks the design is, then the code built from that spec. A wrong read gets caught at the spec, not buried in markup.

Single-file output

One HTML file with inline CSS, organized by the sections the spec named - a starting point for your design, not production markup.

Honest about purpose

This recreates layout structure for legitimate work: your own designs, mockups you have rights to, competitive research. It is not for passing off someone else's site as yours.

A spec before any code

Step one reads the screenshot into a layout spec: the sections, their order and their content. You review it before any HTML exists.

Two visible steps

Read layout spec, then generate code. The separation is deliberate: a wrong spec is cheap to fix, a wrong page is not.

Single-file output

The clone is one HTML file with its CSS inline, editable from the first line.

Three image formats

PNG, JPEG or WebP up to 6 MB. App screenshots, marketing pages, dashboards.

Honest about fidelity

The copy is an approximation to start from: text usually right, layout approximate. It says so on the page.

Code you can read

The output is plain HTML and CSS, structured like the spec, so edits are find-and-change, not archaeology.

Preview and download

View the rendered clone, view the code, download the .html.

One vision request per run

The screenshot is sent when you press Read layout spec, and again when you press Generate code. The code step can make a second attempt if the text does not match the spec. Nothing is stored after the reply.

How it works

How to use it.

Step 1

Drop a full-page or section screenshot (PNG or JPG).

Step 2

Review the layout spec the model extracted.

Step 3

Generate the code, preview it, download the file.

Step 4

Drop a PNG, JPEG or WebP screenshot, up to 6 MB.

Step 5

Press 1. Read layout spec and review what it saw.

Step 6

Press 2. Generate code and wait for the single-file clone.

Step 7

Preview it, open the code view, download the .html and edit.

FAQ

How close is the clone?

Structure and rough proportions, yes; exact pixels, fonts and imagery, no. Treat it as scaffolding.

How does it read the screenshot?

The AI looks at the screenshot and writes the code against the actual pixels, not just the spec. It runs through HiringsAI's free endpoint. The image is not stored.

Why two steps?

So you can catch a misread design at the spec stage instead of debugging generated code built on a wrong assumption.

How accurate is the clone?

Text content is usually right; layout is an approximation. Treat the output as a starting draft to edit, not a pixel-perfect copy.

Why two steps instead of one?

The spec step shows what the model understood before code exists. Catching a misread section there saves regenerating a whole page.

What does the output look like?

One HTML file with inline CSS: sections in the spec's order, editable text and styles, no framework, no build step.

Does it make interactive components?

No. The clone is static markup. Wiring buttons and forms is your next step after download.

What happens to my screenshot?

It is sent when you press Read layout spec and again when you press Generate code, plus a second attempt if the text does not match. The replies are the spec and code; the image is not stored.

Can it clone a whole app?

One screenshot, one page. Complex flows clone screen by screen.

Why a 6 MB limit?

Large enough for full-page captures, small enough for a reliable vision request. Over the limit, the tool says so before trying.

Open UI Clone from Screenshot

Worked example

Real output, from the tool itself.

This is what UI Clone from Screenshot returned for the example input shown, captured live from the tool on this site - not a mockup.

You enter

Screenshot uploaded

a real capture of the HiringsAI Snowflake connector page (1278x899 PNG)

Step 1

Read layout spec

Step 2

Generate code

The tool returns

Layout spec (excerpt)

### Header
* "hiringsai.com" - sans-serif, medium, left, black, white
* "Scheduled queries export results into the weekly report." - sans-serif, small, left, black, white
* "Suites", "Tools", "Playbooks", "Connectors", "Templates", "Blog", "Pricing" - sans-serif, small, right, black, white
* "SIGN IN" - sans-serif, medium, right, white, black

### Main Content
* "How connecting will work" - sans-serif, large, center, white, black
* "The provider-side details on this page follow the official documentation linked above. The HiringsAI steps in the diagram - one approval, token stored agai
...

Generated code (excerpt)

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        body {
            background-color: black;
        }
        h1 {
            font-size: 36px;
            font-family: sans-serif;
            text-align: center;
            color: white;
        }
        p {
            font-size: 18px;
            font-family: sans-serif;
            text-align: left;
            color: white;
        }
        .header {
            background-color: black;
            padding: 10px;
        }
        .nav {
            background-color: black;
            padding: 10px;
            display: flex;
            justify-content: space-between;
        }
        .nav a {
            font-size: 16px;
            font-family: sans-serif;
            text-align: center;
            color: white;
        }
        .nav .sign-in {
     
...
Try it with your own input

More in the Build suite

Font Pairing LabWebhook TesterPricing Page BuilderLanding Page MakerStatus Page Starter
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the UI Clone from Screenshot page

Try it now.

UI Clone from Screenshot runs in your browser. No account needed.

Authored Tiles

What is on the page

Picker for a PNG, JPEG orWebPButton 1, Read layout specButton 2, Generate codePreview frame with Viewcode and Download
Picker for a PNG, JPEG or WebPButton 1, Read layout specButton 2, Generate codePreview frame with View code andDownload
A picker and two steps on the left, spec and preview on the right.

Pipeline

Two steps

Choose ascreenshotPress Read layoutspecLook over the specPress GeneratecodePreview, view ordownload
Choose a screenshotPress Read layout specLook over the specPress Generate codePreview, view or download
You review the spec before any code is written.

Before After

What the spec lists

PartWhat is written downTextTypeAlignmentColourSpacingControlsEvery visible string, quotedexactlySerif or sans, bold ornormal, sizeLeft, centre or rightBackground and text as hexcodesTight, normal or looseButtons and inputs withtheir exact labels
Part to What is written downTextEvery visible string, quoted exactlyTypeSerif or sans, bold or normal, sizeAlignmentLeft, centre or rightColourBackground and text as hex codesSpacingTight, normal or looseControlsButtons and inputs with their exactlabels
Each section of the screenshot, top to bottom.

Before After

Words the spec uses

PropertyAllowed wordsSpacingSizeStyleWeighttight, normal or loosetiny, small, medium, largeor heroserif or sans-serifbold or normal
Property to Allowed wordsSpacingtight, normal or looseSizetiny, small, medium, large or heroStyleserif or sans-serifWeightbold or normal
The spec keeps to a short list of words.

Pipeline

The text check

Collect the quotedlines from thespecLook for each onein the codeIf one is missingor filler shows,try once moreOtherwise acceptthe code
Collect the quoted lines from thespecLook for each one in the codeIf one is missing or filler shows,try once moreOtherwise accept the code
The page compares the code with the quoted lines.

Before After

Notes after Generate

Check resultWhat you readText appears that is not inthe specA quoted line was changedFiller words were foundEverything matchesA warning to remove itbefore using the codeA note that N lines did notsurvive word for wordA note that invented textmay be presentNo note
Check result to What you readText appears that is not in the specA warning to remove it before usingthe codeA quoted line was changedA note that N lines did not surviveword for wordFiller words were foundA note that invented text may bepresentEverything matchesNo note
The page tells you what it found.

Before After

Problems you can run into

What went wrongWhat you readImage over 6 MBThe spec comes back emptyNo usable code comes backThe connection failsImage is over 6 MB - exporta smaller copy.A note to try a clearerscreenshotA note to click GenerateagainNetwork error - try again.
What went wrong to What you readImage over 6 MBImage is over 6 MB - export asmaller copy.The spec comes back emptyA note to try a clearer screenshotNo usable code comes backA note to click Generate againThe connection failsNetwork error - try again.
Each shows a line under the buttons.

Support Matrix

What each button needs

Needs ascreenshotNeeds a specNeeds codeSends theimage outRead layout specGenerate codeView codeDownload .html
Read layout specNeeds a screenshotSends the image outGenerate codeNeeds a specSends the image outView codeNeeds codeDownload .htmlNeeds code
A large white dot marks a need or an effect; a small dim dot marks absence.

Pipeline

Choosing another screenshot

The old spec andcode are clearedGenerate, View andDownload turn offThe spec panelshows itsplaceholderRead layout specturns on
The old spec and code are clearedGenerate, View and Download turnoffThe spec panel shows itsplaceholderRead layout spec turns on
The page starts over.

Before After

Button states

MomentButtonsNothing chosenScreenshot chosenSpec receivedCode receivedAll four buttons are offRead layout spec is onGenerate code is onView code and Download areon
Moment to ButtonsNothing chosenAll four buttons are offScreenshot chosenRead layout spec is onSpec receivedGenerate code is onCode receivedView code and Download are on
The buttons open up one at a time.

Input To Output

One screenshot, three things out

ScreenshotLayout specPreviewui-clone.htmlClonerInOut
InScreenshotClonerLayout specPreviewui-clone.htmlOut
The spec comes first, then the code.

Before After

What the picker takes

FileResultA PNGA JPEGA WebPA 7 MB PNGAcceptedAcceptedAcceptedRefused with the 6 MBmessage
File to ResultA PNGAcceptedA JPEGAcceptedA WebPAcceptedA 7 MB PNGRefused with the 6 MB message
Three image types, up to 6 MB.

Pipeline

What step 2 sends

The screenshotIts size in pixelsThe first 1500characters of thespecRules: copy thetext exactly, addnothing
The screenshotIts size in pixelsThe first 1500 characters of thespecRules: copy the text exactly, addnothing
The code request carries more than the image.

Before After

What the code is asked to follow

PartRuleTextStyleAssetsSizeViewportExact, nothing inventedOne style block in the headNo outside files or fontsImage pixels become pagepixels, 1 to 1A viewport tag is included
Part to RuleTextExact, nothing inventedStyleOne style block in the headAssetsNo outside files or fontsSizeImage pixels become page pixels, 1to 1ViewportA viewport tag is included
These rules go with the request.

Authored Tiles

Good to know

The image is sent when youpress button 1The limit is 6 MBNothing is storedThe result is a startingpoint, layout and spacingoften differ
The image is sent when you pressbutton 1The limit is 6 MBNothing is storedThe result is a starting point, layoutand spacing often differ
Four plain facts.

Pipeline

View and download

Press View code toopen the code boxPress Hide code toclose itPress Download.html to saveui-clone.htmlThe temporary linkis removed after 4seconds
Press View code to open the codeboxPress Hide code to close itPress Download .html to saveui-clone.htmlThe temporary link is removedafter 4 seconds
Two ways to take the code.

Before After

The preview frame

MomentWhat you seeBefore GenerateAfter GenerateAfter View codeEmpty frameThe page is drawn in theframeA read-only box with thecode opens below
Moment to What you seeBefore GenerateEmpty frameAfter GenerateThe page is drawn in the frameAfter View codeA read-only box with the code opensbelow
It is blank until there is code.

Pipeline

The second try

The first trywrites the codeThe page checksthe quoted linesThe second try istold which lineschanged and to addno fillerThe result isshown with a noteif it is still off
The first try writes the codeThe page checks the quoted linesThe second try is told which lineschanged and to add no fillerThe result is shown with a note ifit is still off
The page gets one retry.