Skip to content
aicoolies logo
screenshot-to-code logo

screenshot-to-code

Convert any screenshot or mockup into clean frontend code with AI vision.

screenshot-to-code is an open-source tool that converts screenshots, mockups, and Figma designs into clean, functional HTML, Tailwind CSS, React, or Vue code using AI vision models. Powered by GPT-4V, Claude, and Gemini, it supports video-to-code and iterative editing workflows, making it a rapid scaffolding tool for frontend developers who want to skip the pixel-translation step entirely.

About screenshot-to-code

screenshot-to-code turns static visuals into production-ready frontend code using AI vision models including GPT-4V, Claude Opus 4.5, and Gemini. Drop in a screenshot, a Figma export, or a URL, and the tool returns clean HTML with Tailwind CSS, React components, or plain Vue — no manual translation from design to markup. It also supports video recordings, letting developers iterate on UI animations frame-by-frame.

The project sits at over 71,000 GitHub stars and is one of the most-starred design-to-code repositories in existence. Unlike prompt-first builders like v0 or Bolt.new that start from a text description, screenshot-to-code is pixel-first: it reads the actual layout, color, and spacing of what you show it. This makes it especially useful when working from existing designs, Figma mockups, or cloning reference UIs where fidelity matters more than flexibility.

Self-hosting is straightforward via Docker, and a managed hosted version is available at screenshottocode.com for teams that prefer not to manage API keys directly. The tool is MIT-licensed, actively maintained, and serves as a benchmark reference implementation for the screenshot-to-code problem — making it an important anchor for comparison content covering tools like v0, Galileo AI, and Locofy.

Pricing & Platform Specs

Pricing Summary

Open-source vision-to-code platform (65k+ GitHub stars, Apache-2.0). 100% free for self-hosting with BYOK model API keys (Claude, GPT-4o, Gemini); hosted cloud platform offers starter credits and paid generation tiers starting at $15/mo for turnkey prototyping.

full pricing breakdown →

Supported Platforms

Web (hosted at screenshottocode.com), self-hostable via Docker. Supports VS Code extension workflow. macOS / Linux / Windows (Docker-based).

Explore categories, tags & use cases

Vercel's AI UI generator

Vercel's AI-powered UI generation tool that creates production-ready React and Next.js components from text or image prompts. Outputs clean code using shadcn/ui and Tailwind CSS, deployable to Vercel or copyable into existing projects. Supports iterative refinement through conversation, live browser preview, and generates accessible, responsive code. Ideal for rapidly prototyping landing pages, dashboards, forms, and UI components without manual setup.

freemium

AI-powered design to frontend code

Locofy is a design-to-code platform that converts Figma and Adobe XD designs into production-ready frontend code with high fidelity. Uses AI to automatically generate clean, responsive HTML/CSS/React/Next.js/React Native code from design files — eliminating labor-intensive manual translation. Includes Locofy Lightning for one-click conversion and Builder mode for custom components.

freemium

Visual IDE for React that designers can use

Onlook is an open-source visual editor for React and Next.js with 25.9K+ GitHub stars that lets designers edit real code-backed interfaces on an infinite canvas. It connects visual changes, AI chat, component and layer inspection, and versioned code workflows so teams can prototype and refine product UI without treating design files as the source of truth.

freemiumOpen Source

Visual CMS and headless page builder

Builder.io is a visual development platform that lets teams create and optimize web and mobile content using a drag-and-drop editor that integrates directly with existing codebases and tech stacks (React, Next.js, Qwik, etc.). Empowers non-technical team members to publish and update digital experiences without waiting on developers. Includes headless CMS, A/B testing, and AI-powered Visual Copilot design-to-code.

freemium

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is screenshot-to-code?

screenshot-to-code is an open-source tool that converts screenshots, mockups, and Figma designs into clean, functional HTML, Tailwind CSS, React, or Vue code using AI vision models. Powered by GPT-4V, Claude, and Gemini, it supports video-to-code and iterative editing workflows, making it a rapid scaffolding tool for frontend developers who want to skip the pixel-translation step entirely.

Is screenshot-to-code free?

screenshot-to-code offers a free tier alongside paid plans. Open-source vision-to-code platform (65k+ GitHub stars, Apache-2.0). 100% free for self-hosting with BYOK model API keys (Claude, GPT-4o, Gemini); hosted cloud platform offers starter credits and paid generation tiers starting at $15/mo for turnkey prototyping.

Is screenshot-to-code open source?

Yes — screenshot-to-code is open source.

Is screenshot-to-code still maintained?

Yes — screenshot-to-code is active. Its listing was last verified on August 26, 2026.

What are the best screenshot-to-code alternatives?

The first editor-selected screenshot-to-code alternatives are v0, Locofy, Onlook, and more.