How to host a Webflow export on Netlify
To host a Webflow export on Netlify, unzip the WebExport download and drag the folder onto the Netlify deploy area, or run npx netlify-cli deploy --dir=exported-site --prod. Add a _redirects file for moved URLs, and switch Webflow forms to Netlify Forms with data-netlify="true" so submissions still reach you.
Last reviewed
Key facts
- Netlify reads _redirects and _headers straight from the folder you upload.
- Netlify Forms can replace Webflow form handling without any server of your own.
- Rules in _redirects run before rules in netlify.toml, and the first match wins.
- Each Webflow CMS item is an HTML file, so it is served like any other page.
What a Webflow export brings to Netlify
A WebExport copy of a Webflow site is a folder of finished pages, local CSS, the Interactions and GSAP scripts, fonts and images. Netlify serves that folder as it is. Drag and drop is enough for a first deploy, and the same folder works later with the CLI or a Git repository when you want repeat deploys.
Netlify is a good match for Webflow sites that use forms, because it can take over the one feature Webflow’s help says breaks in exported code. The rest of the move is ordinary static hosting: check the pages, add redirects for anything that changed, then point the domain.
Deploy by drag and drop or with the Netlify CLI
- Unzip the download so the folder contains index.html at its top level.
- Drag the folder onto the deploy area in the Netlify dashboard, or use the CLI for repeat deploys.
- Open the generated netlify.app URL and check the home page, one inner page and one image.
- Add your custom domain under domain settings and follow the DNS instructions.
npx netlify-cli deploy --dir=exported-site # draft deploy
npx netlify-cli deploy --dir=exported-site --prod # production deployRedirects, headers and 404s on Netlify
Netlify reads two plain text files from the publish directory, _redirects and _headers, and an optional netlify.toml. In _redirects each rule is a line with the old path, the new path and a status code. Rules in _redirects run before rules in netlify.toml, and the first match wins. In _headers a path line is followed by indented Name: value lines. Headers apply only to files Netlify serves from its own storage. A file named 404.html in the publish directory is used as the not-found page.
Put a plain text file named _redirects in the top level of the folder, next to index.html. Each line holds the old path, the new path and a status code.
# old path new path status
/posts/* /blog/:splat 301
/home / 301
/blog/category/news /blog 301The first rule moves a renamed CMS folder and keeps the slug through :splat. The other two are samples, so replace them with paths from your own site. Paths are case sensitive. A _headers file works the same way: a path line followed by indented Name: value lines. Neither file is served as a page.
Webflow output that needs fixing on Netlify
| In the Webflow output | What to do on any static host |
|---|---|
| Forms handled by webflow.js | Webflow’s help lists forms as not working in exported code. Change each form action to a new endpoint and test a real submission. |
| Site search, Logic and memberships | These run on Webflow’s servers. Remove the elements or replace them with a third-party service. |
| Lottie files and inline style backgrounds | Lottie animations load a JSON file from a data-src attribute, and inline styles can hold image URLs. Search the folder for website-files.com to catch leftovers. |
| CMS content frozen at export time | Each CMS item becomes an HTML file. A new post in Webflow shows up on your host only after you export again. |
Webflow forms are exported with method get and a handler in webflow.js. To use Netlify Forms, set method to POST, add data-netlify="true" and a unique name to the form, then deploy again. Submit a test and look in the Forms tab of the Netlify dashboard. If nothing arrives, the Webflow script is still handling the submit, and a plain HTML form in place of the Webflow form block fixes it. Also search the folder for website-files.com to catch leftover image links.
Forms and dynamic features
Netlify Forms collects submissions without a server of your own. Add data-netlify="true" and a unique name to a form in static HTML and enable form detection in the dashboard, then deploy again so the build parser finds it.
Netlify detects static forms when it processes the deploy, and it adds a hidden form-name field for you. Turn on form detection in the dashboard first, because forms added before that setting are not picked up until the next deploy.
What can go wrong
- A form that Webflow’s script still handles posts to Webflow, not Netlify, and the message disappears without an error.
- Case matters in _redirects. A rule written for /Blog does not match /blog.
- Putting the _redirects file in a subfolder does nothing. It must sit at the root of the publish directory.
Frequently asked questions
Can I drag and drop a Webflow export onto Netlify?
Yes. Unzip it so index.html is at the top level of the folder and drop the folder on the deploy area. Use the CLI or Git when you want repeatable updates.
How do I keep contact form submissions after leaving Webflow?
Change the form to method POST, add data-netlify="true" and a unique name, and deploy. Submissions then show up in the Netlify Forms tab, and you can add email notifications there.
Where does the _redirects file go for a Webflow export?
In the root of the folder you deploy, next to index.html. Netlify reads it at deploy time and does not publish it as a page.
Does Netlify support the Webflow CMS pages?
The CMS items are saved as static HTML files, so Netlify serves them like any other page. New CMS posts appear after you export and deploy again.
Official documentation
Free tools for this job
- Webflow → Vercel Migration ChecklistInteractive step-by-step checklist for migrating your site off Webflow hosting.
- Webflow Code Cleanliness AuditAudit Webflow HTML for bloated interaction scripts, proprietary attributes, and form locks.
- Static Hosting PickerAnswer 5 questions and get the best hosting recommendation for your exported site.
- Static Site Hosting Cost CalculatorCompare hosting costs: Webflow vs Vercel vs Netlify vs Cloudflare Pages at scale.
Get the Webflow files first
Paste your public Webflow URL into the export form and download a ZIP you can deploy to Netlify. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.