You cannot directly import a .xml file (like a WordPress WXR export) into Webflow, but you can convert the content and then import it using Webflow’s CMS.
1. Convert XML to CSV
- Webflow supports importing CSV files to populate CMS Collections, not XML.
- Use a tool like https://www.convertcsv.com/xml-to-csv.htm or a script to convert your XML into a structured CSV.
- Make sure each row represents a blog post, and each column maps to a CMS field (e.g., title, body, date, slug).
2. Prepare Your CMS Collection in Webflow
- Go to CMS > Collections in Webflow and create a new Collection for your blog posts.
- Add fields that correspond to your data: Name, Slug, Rich Text, Image, Date, etc.
- Field names in your CSV must match or map logically to these fields.
3. Import the CSV into Webflow
- Open the CMS Collection you created.
- Click the Import button in the top right.
- Upload your CSV file and begin mapping each column to the respective field.
- Webflow allows you to preview a few entries before confirming the import.
4. Check for Limitations
- Webflow’s import only supports up to 50 items at once. For more, you’ll need to import in batches.
- Rich Text fields must contain properly formatted HTML. If your CSV contains raw data or plain text, it may require cleaning or conversion.
- Images must be linked as public URLs; Webflow will download and host them for you.
Summary
You can’t import blog posts from a .xml file directly into Webflow, but by converting the XML to CSV and mapping it to a CMS Collection, you can import your blog content successfully. Always review and clean your data to match Webflow’s import requirements.