Design2Code
Models turn screenshots of 484 real webpages into HTML and CSS. Automatic metrics compare the rendered page with the original on layout, text, position, color and CLIP similarity.
The repo also ships Design2Code-HARD, 80 harder pages from GitHub Pages, as a separate test set. Reports often give the averaged visual score or the CLIP score.
- Made by
- Stanford SALT and others (Si, Zhang, Yang et al.)
- Released
- March 2024
- Kind
- Web and app front ends
- Level
- Everyday
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Strongest model tested
- Claude 3 Opus #172 on the capability index
- Last in a launch post
- April 2026, dropped before it saturated
- Last model added
- April 2026
- Scores refreshed
- November 12th, 2026
In the authors’ words
Generative AI has made rapid advancements in recent years, achieving unprecedented capabilities in multimodal understanding and code generation. This can enable a new paradigm of front-end development in which multimodal large language models (MLLMs) directly convert visual designs into code implementations. In this work, we construct Design2Code - the first real-world benchmark for this task. Specifically, we manually curate 484 diverse real-world webpages as test cases and develop a set of automatic evaluation metrics to assess how well current multimodal LLMs can generate the code implementations that directly render into the given reference webpages, given the screenshots as input. We also complement automatic metrics with comprehensive human evaluations to validate the performance ranking. To rigorously benchmark MLLMs, we test various multimodal prompting methods on frontier models such as GPT-4o, GPT-4V, Gemini, and Claude. Our fine-grained break-down metrics indicate that models mostly lag in recalling visual elements from the input webpages and generating correct layout designs.
GPT-4o (snapshot unspecified) tops the leaderboard with 90.4
Best score per entry from the benchmark's own leaderboard, read on November 12th, 2026. Where a model ran with several settings or harnesses, we keep its best. Every run is in the next chart. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is GPT-4V, at 87.2.
Qwen3-VL-235B-A22B leads with 93.4, claims included
Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model.
The newest model with a score here came out in April 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
-
Gemini 4 Carbon
- GPT-6 Astra
- Claude Opus 5.5
- and 16 more
- 1 GPT-4o (snapshot unspecified) Direct 90.4
- 2 WebSight VLM-8B 87.6
- 3 GPT-4V Text-Augmented 87.2
- 4 Claude 3 Opus Direct 87.0
- 5 Design2Code -18B 85.8
- 6 LLaVA 1.6-7B Direct 84.6
- 7
DeepSeek-VL-7B-Chat Direct 84.5
- 8
Gemini 1.0 Pro Vision Direct 84.4
- 9
Idefics2-8B Direct 81.7
Source: Official Design2Code leaderboard
- 1
Qwen3-VL-235B-A22B 93.4
- 2 GPT-4V Text-Augmented 87.2
- 3 Claude 3 Opus Direct 87.0
- 4
DeepSeek-VL-7B-Chat Direct 84.5
- 5
Gemini 1.0 Pro Vision Direct 84.4
- 6
Idefics2-8B Direct 81.7
- 7
STEP3-VL-10B 79.5
Sources: Labs’ model cards and official Design2Code leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4o (snapshot unspecified) | 90.4 | Direct | Official leaderboard | |
| 2 | WebSight VLM-8B | 87.6 | Official leaderboard | ||
| 3 | GPT-4V | 87.2 | Text-Augmented | Nov 2023 | Official leaderboard |
| 4 | Claude 3 Opus | 87.0 | Direct | Feb 2024 | Official leaderboard |
| 5 | Design2Code -18B | 85.8 | Official leaderboard | ||
| 6 | LLaVA 1.6-7B | 84.6 | Direct | Official leaderboard | |
| 7 | | 84.5 | Direct | Mar 2024 | Official leaderboard |
| 8 | | 84.4 | Direct | Jan 2024 | Official leaderboard |
| 9 | | 81.7 | Direct | Apr 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 93.4 | Sep 2025 | Lab model card | |
| 2 | GPT-4V | 87.2 | Text-Augmented | Nov 2023 | Official leaderboard |
| 3 | Claude 3 Opus | 87.0 | Direct | Feb 2024 | Official leaderboard |
| 4 | | 84.5 | Direct | Mar 2024 | Official leaderboard |
| 5 | | 84.4 | Direct | Jan 2024 | Official leaderboard |
| 6 | | 81.7 | Direct | Apr 2024 | Official leaderboard |
| 7 | | 79.5 | Jan 2026 | Lab model card |
Labs report scores for 2 models in their cards. Switch the scores above to rank them together.
Scores at each effort level
Models the leaderboard ran at two or more effort levels. We don’t have enough cost data here to say what the extra effort costs.
Source: Official Design2Code leaderboard
| Model | Effort | Harness | Score | Cost per task | Output tokens |
|---|---|---|---|---|---|
| GPT-4V | Text-Augmented | 87.2 | |||
| GPT-4V | Self-Revision | 87.2 | |||
| Claude 3 Opus | Direct | 87.0 | |||
| GPT-4V | Direct | 86.9 | |||
| Claude 3 Opus | Text-Augmented | 86.6 | |||
| Claude 3 Opus | Self-Revision | 86.6 | |||
| | Direct | 84.5 | |||
| | Direct | 84.4 | |||
| | Text-Augmented | 84.4 | |||
| | Self-Revision | 84.3 | |||
| | Text-Augmented | 84.3 | |||
| | Direct | 81.7 | |||
| | Self-Revision | 79.9 | |||
| | Text-Augmented | 78.7 | |||
| | Self-Revision | 78.4 |
Number one over time 2 models have held number one with claims included since its release in March 2024
Lab claims count from the day the card came out, independent runs from the model’s release. We draw one row each for the benchmark’s own leaderboard and what labs claim in their cards.
Sources: Official Design2Code leaderboard and labs’ model cards
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official Design2Code leaderboard and labs’ model cards
Labs headline it less often now, last in April 2026
Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.
| Date | Launch post | Score | As the post writes it |
|---|---|---|---|
| Apr 1, 2026 | GLM-5V-Turbo | 94.8 | Design2Code 94.8 |
| Dec 8, 2025 | GLM-4.6V | 88.6 | Design2Code |
| Sep 23, 2025 | 93.4 | Design2Code | |
| Aug 11, 2025 | GLM-4.5V | 82.2 | Design2Code |
| Jul 1, 2025 | GLM-4.1V-9B-Thinking | 64.7 | Design2Code |
5 system cards report it, from 3 labs
Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| Jan 14, 2026 | | 79.5 | Design2Code, SeRe (Table 1). Design2Code (hard) 54.69 | Capabilities |
| Jan 1, 2026 | GLM-4.6V technical report | 88.6 | Design2Code, GLM-4.6V thinking (Table 2) | Capabilities |
| Nov 26, 2025 | | 93.4 | Design2Code (Table 2) | Capabilities |
| Aug 13, 2025 | GLM-4.5V technical report | 82.2 | Design2Code, GLM-4.5V thinking (Table 2) | Capabilities |
| Jul 1, 2025 | GLM-4.1V-9B-Thinking technical report | 64.7 | Design2Code, GLM-4.1V-9B-Thinking thinking (Table 2) | Capabilities |
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471