New: Claude Design to Webflow workflow now available → Explore the feature
HTML to Webflow guide

How to Convert HTML to Webflow

This guide explains how to paste HTML into Webflow through Flowboard, what kind of code converts cleanly, and how to keep the result editable as native Webflow elements.

Pro tip: For best results, tell the AI tool you are using to read this guide before it generates code for Flowboard.

What Flowboard does

Flowboard helps you convert HTML to Webflow from inside Webflow Designer. You paste HTML into Flowboard, run the conversion, and paste the result back into the canvas as editable Webflow elements.

This is useful if you want a faster Webflow HTML import workflow for AI-generated sections, hand-written layouts, or reusable snippets you already trust.

Quick start

  1. Open your project in Webflow Designer.
  2. Launch the Flowboard extension.
  3. Paste your HTML into the HTML to Webflow input.
  4. Click Convert to Webflow.
  5. Paste the copied result into the Webflow canvas.

If you see a success message and the item lands in history, the conversion worked.

Step by step

  1. Open Flowboard while you are inside Webflow Designer.
  2. Paste the code you want to import into Webflow.
    • Put your HTML in the main input.
    • Add optional CSS and JavaScript if you are on Pro.
    • Keep the structure semantic and class-based.
  3. Click Convert to Webflow and wait for the success state.
  4. Go back to Webflow Designer and paste the converted structure.
  5. Tidy any classes, spacing, or style states in the Webflow Style panel as you normally would.

Using shared CSS import mode

Shared CSS import mode is useful when you are importing multiple HTML pages or sections that all use the same CSS file.

For example, if you have a five-page HTML site where every page shares one stylesheet, turn this mode on before converting the pages. Flowboard will try to reuse matching generated Webflow class IDs across those related imports, which helps Webflow avoid creating duplicate class names with suffixes like 2 or 3.

To use it

  1. Open the Flowboard extension.
  2. Go to Settings.
  3. Turn on Enable shared CSS import mode.
  4. Go back to the HTML to Webflow converter.
  5. Paste the shared CSS into the optional CSS input.
  6. Convert and paste each related page or section using the same CSS.

Keep the same shared CSS in the CSS input while you work through the related pages. If you switch to a different stylesheet or a different site, reset the shared CSS session from Settings before continuing.

Shared CSS import mode is optional and is not enabled by default. Normal one-off imports still work the same way when the mode is off.

Using custom attributes

Flowboard preserves safe user-authored attributes as Webflow Custom attributes when it converts HTML into editable Webflow elements.

This includes common integration attributes such as:

  • Memberstack attributes like data-ms-member, data-ms-action, and data-ms-content
  • Finsweet or Client-First Attributes-style values like fs-cmsfilter-field, fs-cmsload-element, and fs-list-element
  • Accessibility attributes like aria-label and aria-controls
  • Other safe custom attributes such as hx-get, x-data, wire:click, and similar workflow markers

You can add these attributes directly to the HTML before converting. Flowboard maps them into Webflow's Custom Attributes panel when Webflow can represent them.

Flowboard does not preserve executable inline handlers such as onclick or onload as custom attributes.

Best practices for clean HTML to Webflow conversion

  • Use semantic HTML like section, div, h1-h6, p, a, img, and button.
  • Prefer vanilla CSS with literal values instead of framework utilities.
  • Use simple class names so the result is easier to manage in Webflow Designer.
  • Start with one section at a time when you are learning the workflow.
  • Use the examples library if you want a safe starting point before pasting your own code.

If you are using AI to generate code, ask for clean HTML and vanilla CSS only. That usually leads to more editable Webflow elements.

Prompt for AI-generated hero sections

Use this prompt when you want an AI tool to create a conversion-friendly hero section for Flowboard:

Prompt

Generate a responsive hero section as a single self-contained HTML file that will be used inside Flowboard’s HTML to Webflow converter for a real Webflow project.

The final code must be suitable for pasting into Flowboard, converting into Webflow, and then refining inside the Webflow Designer.

Output one complete code file only, with all HTML, CSS, and JavaScript together in the same file. Put CSS inside a <style> tag and JavaScript inside a <script> tag.

Before generating the code, follow these Flowboard guides so the output is suitable for conversion into Webflow:

https://flowboardapp.com/guides/html-to-webflow-guide

https://flowboardapp.com/guides/gsap-to-webflow-guide

If you include GSAP, use Flowboard-safe GSAP only:

- Use gsap.from(), gsap.to(), gsap.fromTo(), gsap.set(), or simple gsap.timeline() chains.

- Prefer gsap.fromTo() for reveal animations.

- Use literal class, ID, or simple descendant selectors.

- Make sure every GSAP selector matches a real element in the HTML.

- Use px, %, deg, numeric opacity, numeric scale, and simple numeric stagger values.

- Do not use callbacks, keyframes, repeat, yoyo, unsupported GSAP plugins, dynamic selectors, selector variables, function-based stagger, random stagger, grid stagger, index-calculated stagger, or unsupported units like rem, em, vh, vw, calc(), or var().

- Keep native-friendly GSAP in a separate <script> block from any fallback-only custom JavaScript.

Use a RANDOMLY SELECTED design style from the list below, or choose another professional style if it fits the concept better. Use a random selection method that ensures variety. Do not default to Neobrutalist, Tech Forward, Dark Mode First, or any other recurring favourite. Actually randomize the choice.

Available styles: Neobrutalist, Swiss/International, Editorial, Glassmorphism, Retro-futuristic, Bauhaus, Art Deco, Minimal, Flat, Material, Neumorphic, Monochromatic, Scandinavian, Japandi, Dark Mode First, Modernist, Organic/Fluid, Corporate Professional, Tech Forward, Luxury Minimal, Neo-Geo, Kinetic, Gradient Modern, Typography First, Metropolitan.

Create a single responsive hero section only, not a full landing page. The hero must include a responsive navigation bar with a logo area, desktop nav links, a primary call-to-action, and a working mobile menu toggle. The hero section should feel complete above the fold and include strong headline copy, supporting text, one or two CTA buttons, and a visual area or layout concept that suits the chosen style.

The design should focus on the feeling, atmosphere, visual hierarchy, and emotional quality of the chosen design style. Shape the typography, spacing, color, motion, and layout so the visitor feels the intended atmosphere immediately on arrival. Include colorful elements where appropriate, but keep the design refined, intentional, and suitable for a high-quality Webflow build.

Make the hero section conversion-friendly for Flowboard. Use clean semantic HTML, well-structured CSS classes, responsive CSS, and JavaScript only where it adds meaningful interaction. If animations are included, keep them simple, purposeful, and compatible with the GSAP rules above. Avoid overly complex frameworks, TypeScript, React, Vue, external build tools, or code that requires separate files. Return only the final single-file HTML code.

Using Claude Design with Flowboard

If you are generating plain HTML, CSS, and JavaScript in Claude Design, Flowboard can import the visible code into this same HTML to Webflow workflow. Use the dedicated guide for the exact prompt, supported input format, and Webflow Designer steps.

Read the Claude Design to Webflow guide

What to avoid

  • Tailwind, Bootstrap, or framework utility classes
  • Very complex selectors and nested chains
  • Heavy visual effects that rely on advanced CSS tricks
  • Massive pages when you have not tested smaller sections first

Boring, explicit code usually produces the best native Webflow output.

Free and Pro limits

Free plan

  • 3 HTML to Webflow conversions per day
  • 8,000 total characters per conversion
  • No separate CSS and JavaScript inputs

Pro plan

  • No daily conversion cap
  • No character cap
  • Separate CSS and JavaScript inputs enabled

Full pricing details are on the pricing page.

Troubleshooting

Nothing pastes into Webflow

  1. Make sure you are pasting into a real Webflow Designer tab.
  2. Try a very small section first, such as one heading and one paragraph.
  3. Run the conversion again after confirming the success state in Flowboard.

The imported layout does not look right

  1. Remove complex CSS and test with basic spacing and typography first.
  2. Simplify class names and reduce nesting.
  3. Compare your snippet with the examples library for a cleaner pattern.

HTML to Webflow FAQ

Can I import HTML into Webflow without rebuilding it by hand?

Yes. Flowboard is designed to convert HTML into editable Webflow elements so you can paste the result into Webflow Designer instead of rebuilding the layout manually.

What does Flowboard turn into native Webflow elements?

Simple semantic structure like sections, wrappers, headings, paragraphs, links, buttons, and images usually converts best and stays editable in Designer.

Can I paste HTML from ChatGPT, Claude, or another AI tool?

Yes. AI-generated HTML can work well if the output uses plain HTML, simple class names, and vanilla CSS instead of framework utilities.

Does Flowboard support optional CSS and JavaScript?

Yes, but separate CSS and JavaScript inputs are part of Pro. The cleanest results still come from simple structure and explicit styling.