Tutorial · 7 min read

How to Import a Website into Figma

Two methods exist for importing websites into Figma: URL-based Chrome extensions and HTML code paste. Here's when to use each — and how to handle localhost, unreleased builds, and components behind auth.

HF

HTML to Figma Team

Why Import a Website into Figma?

The classic design workflow goes one direction: Figma files become shipped code. But modern teams constantly need to run it in reverse — capturing what's actually in production and pulling it back into Figma.

Common reasons engineers and designers do this:

Figma doesn't have a built-in import-from-URL feature. You need a plugin. And not all plugins work the same way.

The Two Methods for Importing Websites into Figma

Every tool for getting web content into Figma uses one of two underlying approaches. Understanding the difference determines which one fits your situation.

Method A

URL-based Chrome extension

A Chrome extension captures the rendered DOM of a live, publicly accessible page and sends it to a Figma plugin.

  • Works without copying code
  • Requires a live public URL
  • No localhost support
  • Can't reach pages behind auth
  • Browser extension required

The right choice depends on what you're importing. If you need a live, public marketing page and prefer a one-click workflow, a Chrome extension may be faster. For everything else — localhost, staging environments, auth-gated dashboards, email templates, or component-level imports — the code-paste approach is the only option that consistently works.

Developer note: The URL-based method sends your page's HTML to a third-party server for processing. The code-paste method (html2design) runs entirely within the Figma plugin context — no external server receives your markup. For internal tools or proprietary UI, this matters.

Method B: How to Import a Website into Figma with html2design

This method works for any web content you can open in a browser — live sites, localhost, Storybook, email templates, internal tools behind auth. Here's the step-by-step.

Step 1

Install the html2design Figma plugin

Open Figma. In the Community tab, search for html2design (also listed as "Jesse - HTML to Figma - Import Websites as Editable Designs"). Click Install. Requires an active subscription ($12/mo or $96/yr).

Step 2

Open the target website in your browser

Navigate to whatever page or component you want to import. This can be any URL your browser can open:

Step 3

Copy the HTML using browser DevTools

Open DevTools (Cmd+Option+I on Mac, F12 on Windows). In the Elements panel, locate the root element of the section or component you want to import. Right-click the element → Copy → Copy outerHTML.

<!-- Example: copying a card component --> <div class="product-card"> <img src="/img/product.jpg" alt="..." /> <h2>Product Name</h2> <p>$49 / month</p> <button>Get started</button> </div>

For the full page above-the-fold view, select the <body> element or the main layout wrapper. For a specific component, select only that element — smaller scope produces cleaner Figma layers.

Step 4

Paste into the html2design plugin in Figma

In your Figma file, open the plugin via Main Menu → Plugins → html2design. Paste the copied HTML into the input field. Click Convert.

The plugin creates native Figma layers on the canvas: frames for containers, text layers for typography, rectangles for backgrounds, and vector paths for SVGs.

Step 5

Review and clean up the imported layers

After import, you get a fully editable layer tree. Common cleanup steps:

Importing a Full Page vs. a Component

Full-page imports and component-level imports require different strategies.

Full page import

Select the <body> or top-level layout wrapper. Be aware that very large pages (hundreds of elements) will produce complex layer trees that take more time to convert and clean up. A pragmatic approach: import section by section, starting with the hero or primary UI region.

Component-level import (recommended)

Import individual components rather than entire pages. This gives you:

Pro tip: Use the browser's responsive design mode to capture mobile layouts. Set the viewport to 375px wide before copying the HTML — the computed styles will reflect the mobile breakpoint, and html2design will generate a mobile-sized Figma frame.

What Gets Preserved — and What Doesn't

Preserved by html2design

Not preserved (design decisions required)

Importing a Website vs. Importing Raw HTML

You might wonder: is there a difference between importing a website (live page) and converting raw HTML/CSS code?

Technically, no. Both methods use browser-rendered HTML as input. The difference is only in where you get the HTML from:

In both cases, html2design processes the HTML the same way. Use whichever source is more convenient.

Comparing Alternatives

For a detailed breakdown of html2design vs. URL-based tools like html.to.design vs. manual recreation, see our full comparison page. The short version:

Frequently Asked Questions

Can I import a website into Figma for free?

Some Chrome extension tools have free tiers with watermarks or import limits. html2design starts at $12/month with unlimited imports and no watermarks.

Can I import a localhost website into Figma?

Yes — with the code-paste method only. Open your local dev server in a browser, copy the HTML via DevTools, and paste it into the html2design plugin. Chrome extension tools that work from a live URL cannot reach localhost.

Does Figma have a native website import feature?

No. Figma doesn't natively support importing websites or HTML. You need a plugin from the Figma Community — either url-based or code-paste.

Does importing a website preserve CSS Auto Layout?

Yes. html2design maps display: flex, flex-direction, gap, padding, and align-items to Figma's native Auto Layout system. This is one of its most useful features for design system work.

How long does it take to import a page?

A single component converts in 2–5 seconds. A full section takes under 10 seconds. A dense full-page layout may take 20–30 seconds. This compares to 2–4 hours of manual Figma work.


Related Articles

Try it now

Import your first page in under a minute

Open DevTools. Copy outerHTML. Paste into html2design. Get editable Figma layers instantly — no extension needed.

Install from Figma Community →

$12/mo · $96/yr · Cancel anytime

← Back to Blog