svg_mobile stringlengths 660 344k | svg_tablet stringlengths 663 341k | svg_desktop stringlengths 663 341k | html stringlengths 33 3.91M | url stringlengths 15 1.85k | msps_mobile float64 0.99 1 | msps_tablet float64 0.3 1 | msps_desktop float64 0.2 1 | is_augmented bool 2
classes | has_media_queries bool 2
classes | page_sizes_desktop_width int64 360 280k | page_sizes_desktop_height int64 531 242k | page_sizes_tablet_width int64 360 280k | page_sizes_tablet_height int64 713 245k | page_sizes_mobile_width int64 258 280k | page_sizes_mobile_height int64 581 424k | svg_lengths_desktop int64 663 341k | svg_lengths_tablet int64 663 341k | svg_lengths_mobile int64 660 344k | page_data_size int64 33 3.91M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<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><p>Maintenance</p></body>
<style>
</style> | https://portal.gangov.com/ | 1 | 1 | 1 | false | false | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 1,202 | 1,202 | 1,200 | 52 |
<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="svg_front"></div><div id="logo_container"><div id="svg_back"></div><div id="logo_dynamic_container"><a href="/erp"><img alt="Foundant Logo" src="/c65127d4.png"></a><div class="tag_line"><strong>COMMUNITY</strong>SUITE</div></div></div></body>
<style>
body {
height: 100%;
padding: 0;
margin: 0;
... | https://appalachianky.fcsuite.com/ | 0.999912 | 1 | 1 | false | false | 1,440 | 900 | 834 | 1,210 | 393 | 852 | 3,446 | 3,446 | 3,444 | 867 |
<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="909" viewBox="0 0 1440 909"><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 class="ehf-stylesheet-tutorstarter ehf-template-tutorstarter elementor-default elementor-kit-6 elementor-page elementor-page-7360 elementor-template-full-width home page page-id-7360 page-template page-template-elementor_header_footer theme-tutorstarter tutor-lms woocommerce-no-js"><div class="site" id="page"><he... | https://fabimedia.com/ | 0.997842 | 0.999811 | 0.997904 | false | true | 1,440 | 909 | 834 | 1,210 | 393 | 852 | 24,042 | 24,368 | 23,928 | 52,043 |
"<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 class=\"page ct-elementor-default-template elementor-default elementor-kit-9 elementor-page e(...TRUNCATED) | https://galaxy118slotlogin.com/ | 0.998899 | 0.998809 | 0.997868 | true | true | 1,440 | 906 | 834 | 1,210 | 393 | 852 | 19,766 | 16,491 | 16,532 | 27,996 |
"<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 data-drag-and-drop=\"{"ondragenter":"\\n(function() {\\n var $this = $(this);(...TRUNCATED) | https://litchfield-nh.finalforms.com/ | 0.999425 | 0.999498 | 0.999646 | false | true | 1,440 | 1,034 | 834 | 1,210 | 393 | 1,683 | 53,670 | 53,712 | 54,936 | 28,325 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"980\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"980\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body class=\"\"><pages-css id=\"pages-css\"></pages-css><div id=\"SITE_CONTAINER\"><div class=\"ma(...TRUNCATED) | https://www.freijconstruction.com/blank-1 | 0.999565 | 0.999695 | 0.999565 | false | true | 1,440 | 900 | 980 | 1,210 | 980 | 852 | 13,282 | 13,274 | 13,268 | 26,105 |
"<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=\"body_top\"><div id=\"wrap\"><div class=\"clear\" id=\"container\"><header><div class=\"h(...TRUNCATED) | http://form1.fc2.com/ | 0.999262 | 0.998268 | 0.999205 | false | true | 1,440 | 1,385 | 834 | 1,334 | 393 | 1,269 | 29,642 | 29,652 | 27,592 | 18,799 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"518\(...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 class=\"landing-page\"><header><section><div class=\"top-nav-bar\"><div class=\"container\"><(...TRUNCATED) | https://www.gammagard.com/ | 0.999737 | 0.999663 | 0.999874 | true | true | 1,440 | 1,255 | 834 | 1,210 | 518 | 1,750 | 24,331 | 23,585 | 24,561 | 15,981 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"558\(...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 class=\"\"><pages-css id=\"pages-css\"></pages-css><div id=\"SITE_CONTAINER\"><div class=\"ma(...TRUNCATED) | https://www.futureentrepreneursglobal.com/ | 0.995797 | 0.997981 | 0.998452 | true | true | 1,440 | 1,015 | 834 | 1,325 | 558 | 967 | 19,375 | 19,362 | 19,358 | 37,771 |
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"980\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"980\(...TRUNCATED) | "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"1440(...TRUNCATED) | "<body class=\"\"><pages-css id=\"pages-css\"></pages-css><div id=\"SITE_CONTAINER\"><div class=\"ma(...TRUNCATED) | https://www.fairmontmtnpropertiesvirtualtour.com/ | 0.999715 | 0.9998 | 0.999779 | false | true | 1,440 | 900 | 980 | 1,210 | 980 | 852 | 14,245 | 14,235 | 14,229 | 26,581 |
Reverse Browser Reduced Length Dataset
This dataset contains paired HTML/CSS markup and vector-based SVG representations of over 390,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 practice this means processively removing elements and text from the page until its outerHTML length is under 8,000 bytes.
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)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
- 4