Webflow Localization Cleaner
Audit a translated Webflow export against the original HTML. Protect data-w-id animations, w-* classes, and form field names before the files go live.
100% client-side: Your files never leave your browser.
How Exported Webflow HTML Breaks After Translation
Agencies export a static ZIP from Webflow when a hosted localization plan costs more than the project. The archive is ordinary HTML, CSS, and JavaScript. Machine translation often rewrites attributes that interactions, forms, and layout still read. The page can look finished and still fail after deploy.
data-w-id is the IX2 hook, an identifier rather than a sentence. If it is rewritten or dropped, animations and menus bind to an id the page no longer contains. data-wf-page and data-wf-site name the exported page and project, so changing them does not localize anything. w-* classes such as w-button and w-form must stay character for character. Mark brand or price classes with translate="no" before the file is sent out.
Webflow Attributes Cheat Sheet
| Attribute | Role | Rule |
|---|---|---|
| data-w-id | IX2 interaction target | Never translate |
| data-wf-page | Exported page id on the html element | Never translate |
| data-wf-site | Exported project id on the html element | Never translate |
| w-* classes | Layout and component hooks | Never translate |
| name and data-name | Form field keys for handlers | Never translate |
| placeholder, submit value, labels, visible text | Copy visitors read | Must translate |
| html lang | Document language | Must update |
Static Export Localization Workflow
Export a ZIP from Webflow and keep the original HTML beside the translated copy. Prep the export first: add translate="no" to code, pre, optional svg artwork, and classes such as brand-logo or price-value. Optionally set html lang and strip the generator meta.
Translate headings, paragraphs, placeholders, and button labels. Leave name, data-name, data-w-id, data-wf-page, data-wf-site, and w-* classes unchanged. Audit the pair, then auto-restore the original hooks and form keys when the tag sequence still matches. Translated text and placeholders stay in place.
Deploy the checked files to Cloudflare Pages or Netlify. A static host does not run Webflow form processing. Point the form at a handler the project controls, keep the original field names, and confirm lang, the canonical URL, and reciprocal hreflang on the served response.
FAQ
Why do Webflow IX2 interactions break after translation?
IX2 looks up elements by data-w-id. Translation often rewrites that id or drops the attribute, so the interaction binds to an id that is gone. Restore the original data-w-id, data-wf-page, and data-wf-site values.
How should Webflow forms work on a static host?
An export does not include Webflow's hosted form backend. The page can be served from Cloudflare Pages or Netlify, but the form needs a handler the project controls. Keep name and data-name as exported, and translate placeholders and the submit label.
What should change for lang, og:locale, and hreflang?
Set html lang to the target tag, such as fr or fr-CA. Update og:locale and the reciprocal hreflang set so each URL lists the others, including itself. A page that still says lang="en" after the body was translated is still treated as English.
Does this cleaner upload HTML to a server?
No. Prep, audit, and auto-restore run in the browser. Pasted markup and dropped files stay on the machine and are not sent to an API. Each field accepts up to 2 MB.
Which strings should stay in the source language?
Keep data-w-id, data-wf-page, data-wf-site, every w-* class, and form name and data-name. Protect code, preformatted commands, and brand or price nodes with translate="no". Headings, placeholders, and submit labels should change.
The static export walkthrough is translating an exported Webflow site. Pair the audit with the hreflang validator before publish. Placeholder rules are in localizing HTML forms. The tools hub lists the other checks, and static pages can be translated with HTML Translate.