If you have articles stored in a CSV file, you can organize them in rows and columns before importing them into WordPress. This is useful when you need to create many posts without copying each article into the WordPress editor manually.
WordPress does not include a general-purpose CSV importer for Posts in its standard dashboard. Its built-in WordPress importer uses WXR/XML files. To import ordinary CSV data, you need a compatible import tool or plugin.
This guide explains how to prepare a CSV file, compare common import options, and bulk import posts with WP Bulker.
Why Import CSV Files into WordPress?
Create Multiple Posts Efficiently
Each row in a CSV file can represent one post, while columns store fields such as the title and content. Preparing many posts in one file can reduce repetitive data entry.
Move Content from Other Systems
If articles are stored in another CMS, database export, or spreadsheet, you can organize the data in a compatible CSV structure and prepare it for WordPress.
Review Content Before Publishing
Spreadsheet applications make it easy to review titles, slugs, excerpts, and content before importing. This can help editors catch missing or inconsistent data.
How to Prepare a CSV File for WordPress Posts
For WP Bulker, the first four columns must use these exact headers and order:
slug,title,content,excerptColumn | Purpose | Example |
|---|---|---|
slug | Post URL slug | wordpress-seo-guide |
title | Post title | WordPress SEO Guide |
content | Main post content | Text or HTML |
excerpt | Short summary | Learn WordPress SEO basics. |
Keep the Required Headers and Order
Do not rename or rearrange columns A–D. Slug and title are required. Column E and later can contain internal notes, but those columns are not imported as post fields in this workflow.
Use One Row for Each Post
Put the headers in row 1 and start post data from row 2. Each subsequent row should represent one post. Remove unnecessary blank rows and check that each row's values align with the correct columns.
Use Plain Text or HTML in the Content Field
The content field can contain plain text or HTML source code. HTML is useful for headings, paragraphs, lists, links, and image tags. For example:
<h2>Introduction</h2>
<p>This is an example paragraph.</p>
<p><img src="https://example.com/image.jpg" alt="Example image"></p>
<ul>
<li>First point</li>
<li>Second point</li>
</ul>Make sure referenced media URLs are accessible. Importing HTML does not automatically copy remote image files into the destination WordPress Media Library.
Check Encoding and CSV Formatting
Use UTF-8 encoding when possible, especially for non-English text. Check commas, quotation marks, and line breaks inside content fields. Reopen the saved CSV to confirm that the columns and characters display correctly. CSV stores one flat table and does not preserve workbook formatting or multiple Sheets.
3 Ways to Import CSV Files into WordPress
Method 1: WP Bulker
WP Bulker supports bulk WordPress Post import from CSV, XLSX, XLS, and Google Sheets. You can select a CSV file, choose the destination website, set the author, categories, and post status, and process multiple posts in one task. WP Bulker connects through the WordPress REST API using an Application Password; you do not need to install a WP Bulker plugin on each connected site.
Method 2: WP All Import
WP All Import provides a visual interface for mapping incoming data to WordPress fields. Depending on the product version and add-ons, it may support more elaborate mappings and specialized import workflows. Check the current documentation and licensing details to confirm the features you need.
Method 3: A CSV Importer Plugin
Other WordPress plugins also import CSV data. Their supported post types, fields, taxonomies, and file formats vary. Check compatibility with standard Posts, your CSV structure, record volume, and WordPress version before choosing one.
How to Import CSV Files into WordPress Posts with WP Bulker
Step 1: Connect Your WordPress Website
In WP Bulker, open WordPress Sites > Add site.
Enter the WordPress Admin URL, WordPress username, and Application Password, then click Connect site. Enter the site's base URL without /wp-admin/. Use an account with an appropriate WordPress role, such as Administrator, Editor, or Author. Learn more in the WordPress Application Password documentation.
Step 2: Prepare Your CSV File
Confirm that the first four headers are slug, title, content, and excerpt, in that order. Keep the header in row 1 and begin post data in row 2. Check that every post has a title and slug, and review HTML and media URLs. You can download the import spreadsheet template by clicking template.xlsx in the new import task, then prepare your data using the required structure.
Step 3: Create a New Bulk Import Task
Open Bulk Import Posts > New import to open the task configuration window. Select the local-file import option and upload your prepared CSV file. WP Bulker also supports XLSX and XLS files, as well as connected Google Sheets.
Step 4: Configure the Import
Under Import configuration, choose the destination WordPress site, Author, Categories, applicable Row range, and post Status. Available statuses include Draft, Pending review, and Publish. Sheet selection applies to spreadsheet sources; configure the options shown for the selected local CSV source.
Row 1 is the header, so post data should begin from row 2 or later. It is not recommended to leave the end row empty. The destination author and categories should already exist on the WordPress website.
Click Add site if you need another configuration. One task supports up to 10 configurations and up to 5,000 WordPress Posts combined. WP Bulker creates new Posts and does not overwrite existing posts with the same slug.
Step 5: Start the Import and Review the Results
Check the file and configuration, then start the task using the action shown in WP Bulker. Review the task details and processing results. When the task is complete, visit the destination WordPress dashboard and check titles, slugs, content, excerpts, authors, categories, and statuses. Open sample posts on the front end to verify formatting, links, and images.
If some records fail, review the task details and error information, correct the source data or settings, and retry the affected records as appropriate.
Common CSV Import Problems and Fixes
CSV Columns Are Not Recognized
Check that the first four headers are exactly slug, title, content, and excerpt, in that order. Remove extra spaces and make sure the header row is the first row.
Special Characters Display Incorrectly
This may be an encoding issue. Save the CSV using UTF-8 when possible and reopen it to check accented characters, punctuation, and non-English text.
Required Information Is Missing
WP Bulker requires both slug and title. Check for empty values and confirm that commas or quotation marks inside a field have not shifted data into neighboring columns.
Images Do Not Appear
The content field can contain HTML image tags, but the image URL must be accessible. WP Bulker imports post content; it does not automatically copy remote images into the destination Media Library. Upload images to the destination or use accessible media URLs.
An Existing Post Is Not Updated
WP Bulker creates new Posts and does not overwrite existing content with the same slug. Review the destination site and use a different slug or handle the existing post separately before importing.
The Wrong Rows Are Imported
Check the destination website and row range before starting. Row 1 contains headers, and data should begin from row 2. Review every configuration if the task contains more than one.
Frequently Asked Questions
Can WordPress import CSV files without a plugin?
The built-in WordPress importer is designed for WXR/XML files, not general CSV files. To import CSV data as Posts, you typically need a compatible plugin or an external tool such as WP Bulker.
How do I import multiple posts from a CSV file?
Organize posts in rows, use the required headers, and select the CSV file in a compatible importer. With WP Bulker, open Bulk Import Posts > New import, upload the file, configure the destination and post settings, and run the task.
Can I import HTML content from a CSV file?
Yes. The content field can contain HTML, including headings, paragraphs, lists, links, and image tags. Make sure the HTML is valid and referenced media URLs are accessible.
Can CSV import include images?
A CSV field can contain HTML that references images by URL. Importing that HTML does not automatically upload image files to the WordPress Media Library. Make sure the destination website can access the referenced files.
Can I import CSV files into multiple WordPress websites?
WP Bulker supports multiple import configurations in one task, with up to 10 configurations and up to 5,000 Posts combined per task.
Can I import CSV posts as drafts?
Yes. Choose Draft, Pending review, or Publish in the import configuration. Draft is useful when an editor needs to review posts before publication.
What CSV structure does WP Bulker require?
The first four columns must be named and ordered as slug, title, content, and excerpt. Slug and title are required. Additional columns can contain notes but are not imported as post fields in this workflow.
Conclusion
Importing CSV files into WordPress can save time when creating multiple posts from structured content. Prepare the data carefully: use consistent headers, keep one post per row, check encoding, and verify HTML and media references.
WordPress's built-in importer uses WXR/XML, so importing a regular CSV file requires a compatible tool. WP All Import offers configurable field mapping, while WP Bulker provides a spreadsheet-focused workflow for importing CSV, XLSX, XLS, and Google Sheets content into connected WordPress websites.
If your articles are already organized in a CSV file, use WP Bulker to select the file, configure the destination website and post settings, and bulk import the posts. Review the task results and check the content before publishing.