Blog
HTML to Webflow: 3 Ways to Move a Section into the Designer
How to bring HTML into Webflow: a Code Embed, a rebuild by hand, or a conversion you paste with ⌘V as native elements with classes and breakpoints.
By Pickode7 min read

To bring HTML into Webflow you have three options. Paste the code into a Code Embed element, which is fast but stays code. Rebuild the section by hand in the Designer, which is slow but clean. Or convert the HTML into Webflow’s own clipboard format and paste it with ⌘V (Ctrl+V), so it arrives as native elements with classes you can style. The Designer has no “import HTML” button that does the third one for you.
I wrote the Webflow export in Pickode to make the third option work from any live page. Below are the three methods, what each one keeps, and where they fall short.
The quick answer: 3 ways
- Code Embed: paste the HTML and CSS into an Embed element. Good for a widget or a one-off block you won’t restyle.
- Rebuild by hand: recreate the section with Webflow elements and classes. Good for short sections, or when you want your own class system from the start.
- Convert and paste: copy the section as Webflow elements and paste it in the Designer. Good for longer sections you want to keep editing in the Style panel.
Option 1: paste the HTML into a Code Embed
-
In the Designer, open the Add panel and drag a Code Embed element where you want the section.
-
Paste the HTML, with the CSS in a
<style>tag at the top. -
Save and close the code editor. Code with a
<style>tag shows a preview on the canvas. Scripts only show a placeholder and run on the published site.
It works, and for a pricing toggle or a third-party widget it’s the right tool. The catch is that everything inside stays code. You can’t select a heading inside the Embed and change its size from the Style panel, the content isn’t editable in the Editor, and Webflow’s breakpoints don’t touch it: the media queries in your <style> tag do the responsive work. Webflow’s help center also puts a limit of 50,000 characters on each Code Embed, which a long section with its CSS can reach.

Option 2: rebuild the section by hand
For a hero with a heading, a paragraph and two buttons, rebuilding is often the fastest route. You add the elements, give them classes that fit your naming system and set the styles per breakpoint. You end up with exactly what you’d have built from scratch.
It gets slow when the section is long, has nested grids or many states. Then you’re copying values from DevTools one property at a time, and that’s the part a conversion saves you.
Option 3: convert the HTML and paste it as native elements
The Designer reads its own JSON format from the clipboard. That’s how copy and paste works between two Webflow projects. A converter writes that format from HTML and CSS, so when you press ⌘V the elements land in the Navigator as if you’d built them.
Here’s how it works with Pickode, from any live website:
-
Open the page and press Alt+I to open Pickode’s inspector.
-
Click the section you want.
-
Choose “Export as” → Webflow, then click “Copy for Webflow”.
-
In the Webflow Designer, select an element or the Body and press ⌘V (Ctrl+V).
What you get:
- Native elements. Div blocks (section, header, footer and nav too), Heading, Paragraph, Text Link, Link Block, Image, List, Blockquote and inline text. Other tags become a Div or a Span that looks the same.
- One class per element, with a BEM-style name. Identical elements share a class, so you change them once.
- Breakpoints and states. Media queries go onto Webflow’s breakpoints, and hover, pressed, focus and
::before/::afterbecome states, also per breakpoint. - A style Embed for the rest. Styles Webflow has no place for go into one small Embed at the end of the block.
- A conversion report above the code: classes, what went into the Embed, moved media queries, fonts, and the images to upload.

Pickode reads the site’s original stylesheets, not the values the browser computed, so the Style panel shows the values the author wrote, not a pile of resolved pixels.

What doesn’t come across
Whichever converter you use, a few things stay your job:
- Interactions. Webflow interactions (IX2) aren’t created. When you open the export window, Pickode scrolls through a section that doesn’t fit on screen, so elements animated on scroll arrive in their final look instead of hidden halfway.
- Images. They stay linked to the original address until you upload them to Webflow’s Assets. The report lists them.
- Scripts. The page’s JavaScript isn’t copied. Sliders, tabs and menus that need a script arrive in their first state.
- Some elements stay code. SVG, forms,
<button>, video, iframes and tables arrive in an Embed with their HTML. - Breakpoints that don’t match. Webflow uses 991, 767 and 479 px, plus 1280, 1440 and 1920 px above the base. A media query within 64 px of one of these is moved onto it, and the layout between the two widths can change.
The full list is on the Webflow export page and in the Webflow docs.
Converting HTML files you have on your disk
Pickode works on web pages, not on files opened from your disk (file:// addresses). If the HTML is a template you downloaded or a static site you built, serve the folder on localhost first:
cd my-template
npx serve
Then open the local address it prints (for example http://localhost:3000) and copy the sections from there, same as on a live site.
FAQ
Can I import an HTML file into Webflow?
Not as editable elements. Webflow has no import for HTML pages. You can paste the code into a Code Embed, rebuild it, or convert it and paste it with ⌘V as described above.
Why doesn’t pasting HTML into the Designer work?
When you copy HTML as text from an editor, the Designer receives plain text, not elements. It only turns the clipboard into elements when it finds its own format, which is what a converter writes.
Will my existing classes clash with the pasted ones?
Webflow renames a pasted class if your site already has one with the same name, for example card becomes card-2. Pickode’s style Embed targets data-pk attributes, not class names, so those styles keep working.
Does it keep the fonts?
With “Keep the original site’s font” (on by default for Webflow), Pickode embeds font files up to 36 KB each, so the text looks right away. Larger ones are listed in the report to upload in Site settings → Fonts. Check the font’s license before you use it.
Is the Webflow export free?
It’s part of Pickode Pro. On the free plan you see a partial preview. The 7-day Pro trial unlocks it, no card and no account needed.