svg_mobile stringlengths 624 68.5k | svg_tablet stringlengths 626 68.3k | svg_desktop stringlengths 626 68.3k | html stringlengths 37 2.5M | url stringlengths 16 396 | msps_mobile float64 0.99 1 | msps_tablet float64 0.79 1 | msps_desktop float64 0.5 1 | is_augmented bool 1
class | has_media_queries bool 2
classes | page_sizes_desktop_width int64 1.44k 17.4k | page_sizes_desktop_height int64 900 100k | page_sizes_tablet_width int64 832 16.8k | page_sizes_tablet_height int64 1.21k 100k | page_sizes_mobile_width int64 391 16.4k | page_sizes_mobile_height int64 852 11.9k | svg_lengths_desktop int64 665 68.3k | svg_lengths_tablet int64 665 68.3k | svg_lengths_mobile int64 662 68.5k | page_data_size int64 37 2.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="834" height="1210" viewBox="0 0 834 1210"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1440" height="900" viewBox="0 0 1440 900"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <body><div class="cn-position-bottom cookie-notice-hidden cookie-revoke-hidden" style="background-color: rgba(0,0,0,1);" aria-label="Cookie Notice" id="cookie-notice" role="dialog"><div class="cookie-notice-container" style="color: #ffffff"><span class="cn-text-container" id="cn-notice-text">Ta strona korzysta z ciaste... | https://fotissound.com/airbeat-one-festival-2022/ | 1 | 1 | 1 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 2,220 | 2,220 | 2,216 | 20,882 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="834" height="1210" viewBox="0 0 834 1210"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1440" height="900" viewBox="0 0 1440 900"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <body><div class="OldStatic_2023-text_37nqO Parking_2023-text_1JZys"><p><a href="https://whois.gandi.net/en/results?search=enterthejargon.com"><strong>View the WHOIS results of enterthejargon.com</strong></a> to get the domain’s public registration information.</p></div></body>
<style>
body{margin:0}a{background-colo... | http://enterthejargon.com/ | 0.991482 | 0.984697 | 0.988909 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 2,629 | 2,628 | 2,734 | 2,969 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="834" height="1210" viewBox="0 0 834 1210"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1440" height="900" viewBox="0 0 1440 900"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <body><div id="logindisplay"><a cicode="41766" href="https://sso.godaddy.com/?realm=idp&app=instant-page&path=login%3fartifact%3d%26domain%3delizaclutches.com%26oid%3d%26sd%3d%26lcid%3dTrue%26idpinfo%3dnull%26auto%3dtrue%26source%3d" id="login-link"></a></div></body>
<style>
*
{
margin: 0;
paddin... | http://elizaclutches.com/ | 1 | 1 | 1 | true | false | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 1,378 | 1,376 | 1,373 | 1,013 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="834" height="1210" viewBox="0 0 834 1210"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1440" height="900" viewBox="0 0 1440 900"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context... | <body><div class="Parking_2023-positionbox_2OgLh"><div class="Parking_2023-outerbox_2j18t"><p class="Parking_2023-borderbox_1Gwb_"><span class="Parking_2023-infobox_DMdft"><strong>enterthejargon.com</strong><br>is unavailable</span></p></div></div></body>
<style>
body{margin:0}strong{font-weight:inherit}strong{font-w... | http://enterthejargon.com/ | 0.991499 | 0.98476 | 0.988942 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 3,301 | 3,301 | 3,294 | 3,584 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body ontouchstart=\"\"><div class=\"relative box-25 left space-header-logo\"><div class=\"relative(...TRUNCATED) | https://gamblingmastermind.com/ | 1 | 1 | 1 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 2,425 | 2,298 | 2,294 | 124,733 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body><div id=\"sp-top-bar\"><div class=\"container\"><div class=\"container-inner\"><div class=\"r(...TRUNCATED) | https://firstcarehospital.com/ | 0.999999 | 0.999999 | 0.999999 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 1,843 | 1,842 | 1,839 | 69,941 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body ontouchstart=\"\"><li class=\"menu-item menu-item-object-page menu-item-type-post_type menu-i(...TRUNCATED) | https://gamblingmastermind.com/ | 0.99999 | 0.999997 | 0.999998 | true | false | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 2,783 | 2,783 | 2,779 | 122,885 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body><div class=\"elementor-element elementor-col-25 elementor-column elementor-element-0bfc89c el(...TRUNCATED) | https://www.exelytic.com/ | 1 | 0.999999 | 1 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 2,608 | 2,606 | 2,605 | 22,320 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body><h3 class=\"entry-title\"><a href=\"https://fleetwoodpizza.com/online-casino-loyalty-programs(...TRUNCATED) | https://fleetwoodpizza.com/ | 1 | 1 | 1 | true | true | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 1,664 | 1,664 | 1,875 | 27,037 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"393\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"834\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body id=\"mh-mobile\" itemtype=\"https://schema.org/WebPage\"><div class=\"menu-main-container\"><(...TRUNCATED) | https://friendsofdavemadsen.com/ | 1 | 1 | 1 | true | false | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 4,748 | 4,748 | 4,745 | 4,760 |
Reverse Browser "Chopped" Dataset
This dataset contains paired HTML/CSS markup and vector-based SVG representations of over 214,000 real-world web pages, rendered at three common screen sizes (mobile, tablet, desktop). It was collected from the public internet using a custom browser rendering pipeline. The dataset is designed for training and evaluating models that translate visual web designs to semantic, responsive markup.
What's special about this dataset when compared to https://huggingface.co/datasets/tcz/rb-large is that the page lengths has been reduced to better fit max_seq_length restictions and memory when training. In this case this means that individual page elements were recursively extracted and filtered by their outerHTML size, limiting them to 1,000 bytes. Then new data instances were created from those elements and their corresponding CSS.
This means that this dataset does not contain full pages, but rather bite-sized elements from those pages. If you need full pages see:
https://huggingface.co/datasets/tcz/rb-large or https://huggingface.co/datasets/tcz/rb-large-reduced
Contents
Each entry in the dataset includes:
- HTML: A cleaned and compressed version of the page’s markup, stripped of
<script>,<iframe>,<video>, and other non-visual elements, only retaining<body>outerHTML. CSS has been inlined. Images are not saved.html: The preprocessed HTML/CSS source
- SVGs: Three SVG representations of the page for the following viewport sizes:
svg_mobile(393×852)svg_tablet(834×1210)svg_desktop(1440×900)
- Metadata:
url: Original webpage URLmsps_mobile,msps_tablet,msps_desktop: Multi-Scale Pixel Similarity (MSPS) score for each resolutionpage_sizes_*: Full-length page dimensions used during renderingsvg_lengths_*: File sizes of SVGs (in bytes)page_data_size: Total size of HTML + CSSs (in bytes)is_augmented: Whether the entry used data augmentation (e.g. removing or permitting elements, changing properties). In this data set it's always true and no other augmentation other than the page chopper was used.has_media_queries: Whether the original markup contained responsive CSS
Filtering Criteria
- Pages with blank screenshots (i.e., solid-color pages) were excluded.
- Entries where the mobile SVG’s MSPS score was lower than 0.99 were filtered out, ensuring near pixel-perfect visual fidelity between the SVG and the original screenshot.
MSPS Metric
MSPS (Multi-Scale Pixel Similarity) is a custom perceptual similarity score that compares full-page screenshots and rendered SVGs. It progressively downsamples the images and computes MSE at each scale. The final MSPS score is 1 - avg(MSE), giving higher values to more similar images. It’s stricter than common perceptual metrics (e.g., LPIPS or SSIM) and suited for filtering high-fidelity SVG-markup pairs.
Use Cases
This dataset supports research in:
- Image-to-Markup generation
- Responsive layout synthesis
- Visual reasoning from vector input
- Automation in web development and UI design
This dataset was produced with https://github.com/tcz/rb-crawler
- Downloads last month
- 55