How to paste HTML into Webflow
Updated
For layout and text, convert the code so it lands as elements you can style. Use a Code Embed only for widgets and scripts you won't edit, and rebuild by hand only when the section is small or you're redesigning it anyway.
Can you paste HTML into Webflow?
Not directly. Webflow doesn't turn pasted code into elements, because the Designer builds elements only from its own copy format. There are three routes: a Code Embed (the code runs, but you can't style it), a rebuild by hand, or a converter such as FlowPaste, then ⌘V (Ctrl+V) in the Designer.
Option 1: the Embed element
Drag a Code Embed element onto the canvas, paste your HTML, CSS and JavaScript into it and save. The published site runs the code exactly as you wrote it. One Code Embed holds up to 50,000 characters.
- Use an Embed for widgets, third-party scripts and code that you will not edit again.
- The Style panel cannot show the code in an Embed. Clients who edit the site cannot see or change it.
- To add or edit an Embed, you need a paid Webflow plan: a Core, Growth, Agency or Freelancer Workspace, or a Site plan.
Option 2: make the section again by hand
Add each section, div, heading and link yourself. Then copy each CSS value into the Style panel for each breakpoint. The result is clean, but 1 typical section of a landing page takes 30 to 90 minutes.

Option 3: convert the code to native Webflow elements
The Designer accepts Webflow elements from the clipboard. A converter writes your HTML and CSS in that clipboard format, so when you paste, the Designer adds real elements and classes.
- Install FlowPaste and open your site in the Webflow Designer.
- Click the FlowPaste button at the bottom right to open the panel.
- Paste your HTML into the panel, with its <style> tag and any <script> tag.
- Click Convert & copy.
- On the canvas, select the element the section should go into.
- Press ⌘V (Ctrl+V).
Which method is correct for you?
| Embed | Rebuild by hand | Convert (FlowPaste) | |
|---|---|---|---|
| You can edit it in the Style panel | No | Yes | Yes |
| Time for 1 section | 1 minute | 30–90 minutes | 1 minute |
| Responsive breakpoints | In the code | You set them | From your media queries |
| Animations | GSAP in a script | Interactions by hand | GSAP → Interactions |
| You must have a paid Webflow plan | To edit the Embed | No | No |
Questions
Why doesn't pasted HTML become elements in Webflow?
Because code copied from an editor or an AI chat is plain text on the clipboard, and the Designer creates elements only from its own copy format, which Webflow uses when you copy elements inside the Designer. Put the code in a Code Embed to run it, or convert it to get elements. How Webflow's clipboard format works →
Can I paste HTML into a Webflow rich text field?
Not as code. Formatted content copied from a web page or a document (not its source code) keeps its formatting and links when you paste it into a rich text element. Raw HTML goes in through the element's + menu, which has a custom code button; like a Code Embed, that needs a paid Webflow plan.
Does Webflow have an HTML import?
No. Webflow imports CSV files into the CMS, but it has no HTML import; converting the code is the way in. How to import HTML into Webflow →
Does pasted HTML keep my classes?
Yes, if you use a converter. FlowPaste keeps your class names. If a class with the same name exists with different styles, Webflow adds the suffix -2.
Sources
- Webflow Help: Custom code embed — a Code Embed holds up to 50,000 characters; adding one needs a Core, Growth, Agency or Freelancer Workspace or a Site plan
- Webflow Help: Rich text element overview — pasted formatting and links are kept; custom code from the + menu