Title: WordPress Importer
Author: WordPress.org
Published: <strong>mai 20, 2010</strong>
Last modified: novembre 5, 2025

---

Search plugins

![](https://ps.w.org/wordpress-importer/assets/banner-772x250.png?rev=547654)

![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)

# WordPress Importer

 By [WordPress.org](https://profiles.wordpress.org/wordpressdotorg/)

[Download](https://downloads.wordpress.org/plugin/wordpress-importer.0.9.5.zip)

 * [Details](https://tah.wordpress.org/plugins/wordpress-importer/#description)
 * [Reviews](https://tah.wordpress.org/plugins/wordpress-importer/#reviews)
 *  [Installation](https://tah.wordpress.org/plugins/wordpress-importer/#installation)
 * [Development](https://tah.wordpress.org/plugins/wordpress-importer/#developers)

 [Support](https://wordpress.org/support/plugin/wordpress-importer/)

## Description

The WordPress Importer will import the following content from a WordPress export
file:

 * Posts, pages and other custom post types
 * Comments and comment meta
 * Custom fields and post meta
 * Categories, tags and terms from custom taxonomies and term meta
 * Authors

For further information and instructions please see the [documention on Importing Content](https://wordpress.org/support/article/importing-content/#wordpress).

### Filters

The importer has a couple of filters to allow you to completely enable/block certain
features:

 * `import_allow_create_users`: return false if you only want to allow mapping to
   existing users
 * `import_allow_fetch_attachments`: return false if you do not wish to allow importing
   and downloading of attachments
 * `import_attachment_size_limit`: return an integer value for the maximum file 
   size in bytes to save (default is 0, which is unlimited)

There are also a few actions available to hook into:

 * `import_start`: occurs after the export file has been uploaded and author import
   settings have been chosen
 * `import_end`: called after the last output from the importer

## Installation

The quickest method for installing the importer is:

 1. Visit Tools -> Import in the WordPress dashboard
 2. Click on the WordPress link in the list of importers
 3. Click « Install Now »
 4. Finally click « Activate Plugin & Run Importer »

If you would prefer to do things manually then follow these instructions:

 1. Upload the `wordpress-importer` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Tools -> Import screen, click on WordPress

## FAQ

### Help! I’m getting out of memory errors or a blank screen.

If your exported file is very large, the import script may run into your host’s 
configured memory limit for PHP.

A message like « Fatal error: Allowed memory size of 8388608 bytes exhausted » indicates
that the script can’t successfully import your XML file under the current PHP memory
limit. If you have access to the php.ini file, you can manually increase the limit;
if you do not (your WordPress installation is hosted on a shared server, for instance),
you might have to break your exported XML file into several smaller pieces and run
the import script one at a time.

For those with shared hosting, the best alternative may be to consult hosting support
to determine the safest approach for running the import. A host may be willing to
temporarily lift the memory limit and/or run the process directly from their end.

— [Support Article: Importing Content](https://wordpress.org/support/article/importing-content/#before-importing)

## Reviews

![](https://secure.gravatar.com/avatar/73cc394d97274ef179466af742d40c63dd959603b51489a9b068a6976191f4a5?
s=60&d=retro&r=g)

### 󠀁[Works but basic](https://wordpress.org/support/topic/works-but-basic-4/)󠁿

 [ajadalif](https://profiles.wordpress.org/ajadalif/) avril 16, 2026

Used WordPress Importer to move content. Setup was easy. Did the job fine. But options
feel limited. Sometimes a bit slow. Still good for simple use tbh.

![](https://secure.gravatar.com/avatar/8058180c1a44c3819b1e0d5d3e7d0285400418fb9b9ed20075b4859078408040?
s=60&d=retro&r=g)

### 󠀁[Works but Basic](https://wordpress.org/support/topic/works-but-basic-3/)󠁿

 [alijonab332](https://profiles.wordpress.org/alijonab332/) avril 15, 2026

It does the job, but feels a bit outdated. Importing worked, but had some small 
issues. not very smooth tbh. Good for simple use, but needs improvement cz limited
options.

![](https://secure.gravatar.com/avatar/5d44203a83b99c9a570b83bb0f3078edd0bcf4b139e38d9189628f3da6130f2d?
s=60&d=retro&r=g)

### 󠀁[Good but Basic](https://wordpress.org/support/topic/good-but-basic-2/)󠁿

 [kortney2](https://profiles.wordpress.org/kortney2/) avril 7, 2026

Works fine for simple imports, 👍 helped me move content quickly. Setup was easy,
no confusion, but lacks some advanced options tbh. still useful for basic needs.
tnkz!

![](https://secure.gravatar.com/avatar/07bfb2333afdf3e8827423058792cc0e450bd2aaad4c010e8b0dab784dc3ac38?
s=60&d=retro&r=g)

### 󠀁[Simple Import Tool](https://wordpress.org/support/topic/simple-import-tool-2/)󠁿

 [sidney77](https://profiles.wordpress.org/sidney77/) avril 6, 2026

Super easy to use. Imported my content without any hassle. Took just a few mins.
Works perfectly for basic needs tnkz 👍

![](https://secure.gravatar.com/avatar/5577ed6c09d420d42edc97e37b9024881b675b7a78fdda16c1e8179235b95137?
s=60&d=retro&r=g)

### 󠀁[Works but Basic](https://wordpress.org/support/topic/works-but-basic-2/)󠁿

 [iyana303](https://profiles.wordpress.org/iyana303/) avril 3, 2026

WordPress Importer did the main job and helped me move content fast. But the process
felt a bit plain, and I had to check a few things myself after import. So 3 stars
from me.

![](https://secure.gravatar.com/avatar/ad6fed6dff529e2135fb483172d5ae61e133f460d693c1c5f1adab9b2b0a89ef?
s=60&d=retro&r=g)

### 󠀁[Simple Import Tool](https://wordpress.org/support/topic/simple-import-tool/)󠁿

 [tariqarsenault](https://profiles.wordpress.org/tariqarsenault/) mars 25, 2026

Used this to import old site content, and it worked fine. The process was simple
n didn’t take much time. No issues so far, does exactly what it should. Pretty useful,
tnkz 👍

 [ Read all 321 reviews ](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Contributors & Developers

“WordPress Importer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

“WordPress Importer” has been translated into 60 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer/contributors)
for their contributions.

[Translate “WordPress Importer” into your language.](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wordpress-importer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wordpress-importer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wordpress-importer/)
by [RSS](https://plugins.trac.wordpress.org/log/wordpress-importer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.9.5

 * Rewrite CSS URLs in block markup (e.g., cover blocks with background images).
 * Code refactoring: Extract import processing logic into separate methods to prepare
   for future streaming support.
 * Update Playwright and @playwright/test dependencies from 1.55.0 to 1.56.1.
 * Clean up vendor-patched dependencies by removing dotfiles and GitHub workflow
   files.

#### 0.9.4

 * Fix a bug that caused self-closing blocks to be incorrectly serialized during
   URL rewriting.

#### 0.9.3

 * Rewrite attachment URLs to the new URL structure

#### 0.9.2

 * Rewrite site URLs in block attributes.

#### 0.9.1

 * Add support for rewriting site URLs in post content and excerpts.

#### 0.9.0

 * Introduce a new XML parser class `WXR_Parser_XML_Processor` that replaces the
   
   deprecated `WXR_Parser_Regex` class.

#### 0.8.4

 * Fix a bug on deserialization of untrusted input.
 * Update compatibility tested-up-to to WordPress 6.7.2.

#### 0.8.3

 * Update compatibility tested-up-to to WordPress 6.7.
 * Update call to `post_exists` to include `post_type` in the query
 * PHP 8.4 compatibility fixes.

#### 0.8.2

 * Update compatibility tested-up-to to WordPress 6.4.2.
 * Update doc URL references.
 * Adjust workflow triggers.

#### 0.8.1

 * Update compatibility tested-up-to to WordPress 6.2.
 * Update paths to build status badges.

#### 0.8

 * Update minimum WordPress requirement to 5.2.
 * Update minimum PHP requirement to 5.6.
 * Update compatibility tested-up-to to WordPress 6.1.
 * PHP 8.0, 8.1, and 8.2 compatibility fixes.
 * Fix a bug causing blank lines in content to be ignored when using the Regex Parser.
 * Fix a bug resulting in a PHP fatal error when IMPORT_DEBUG is enabled and a category
   creation error occurs.
 * Improved Unit testing & automated testing.

#### 0.7

 * Update minimum WordPress requirement to 3.7 and ensure compatibility with PHP
   7.4.
 * Fix bug that caused not importing term meta.
 * Fix bug that caused slashes to be stripped from imported meta data.
 * Fix bug that prevented import of serialized meta data.
 * Fix file size check after download of remote files with HTTP compression enabled.
 * Improve accessibility of form fields by adding missing labels.
 * Improve imports for remote file URLs without name and/or extension.
 * Add support for `wp:base_blog_url` field to allow importing multiple files with
   WP-CLI.
 * Add support for term meta parsing when using the regular expressions or XML parser.
 * Developers: All PHP classes have been moved into their own files.
 * Developers: Allow to change `IMPORT_DEBUG` via `wp-config.php` and change default
   value to the value of `WP_DEBUG`.

#### 0.6.4

 * Improve PHP7 compatibility.
 * Fix bug that caused slashes to be stripped from imported comments.
 * Fix for various deprecation notices including `wp_get_http()` and `screen_icon()`.
 * Fix for importing export files with multiline term meta data.

#### 0.6.3

 * Add support for import term metadata.
 * Fix bug that caused slashes to be stripped from imported content.
 * Fix bug that caused characters to be stripped inside of CDATA in some cases.
 * Fix PHP notices.

#### 0.6.2

 * Add `wp_import_existing_post` filter, see [Trac ticket #33721](https://core.trac.wordpress.org/ticket/33721).

#### 0.6

 * Support for WXR 1.2 and multiple CDATA sections
 * Post aren’t duplicates if their post_type’s are different

#### 0.5.2

 * Double check that the uploaded export file exists before processing it. This 
   prevents incorrect error messages when
    an export file is uploaded to a server
   with bad permissions and WordPress 3.3 or 3.3.1 is being used.

#### 0.5

 * Import comment meta (requires export from WordPress 3.2)
 * Minor bugfixes and enhancements

#### 0.4

 * Map comment user_id where possible
 * Import attachments from `wp:attachment_url`
 * Upload attachments to correct directory
 * Remap resized image URLs correctly

#### 0.3

 * Use an XML Parser if possible
 * Proper import support for nav menus
 * … and much more, see [Trac ticket #15197](https://core.trac.wordpress.org/ticket/15197)

#### 0.1

 * Initial release

## Community plugin

This plugin is developed and supported by a community. [Contribute to this plugin](https://github.com/WordPress/wordpress-importer)

## Meta

 *  Version **0.9.5**
 *  Last updated **5 mois ago**
 *  Active installations **2+ million**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [Albanian](https://sq.wordpress.org/plugins/wordpress-importer/), [Arabic](https://ar.wordpress.org/plugins/wordpress-importer/),
   [Azerbaijani](https://az.wordpress.org/plugins/wordpress-importer/), [Bosnian](https://bs.wordpress.org/plugins/wordpress-importer/),
   [Catalan](https://ca.wordpress.org/plugins/wordpress-importer/), [Chinese (China)](https://cn.wordpress.org/plugins/wordpress-importer/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wordpress-importer/), [Croatian](https://hr.wordpress.org/plugins/wordpress-importer/),
   [Czech](https://cs.wordpress.org/plugins/wordpress-importer/), [Danish](https://da.wordpress.org/plugins/wordpress-importer/),
   [Dutch](https://nl.wordpress.org/plugins/wordpress-importer/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/wordpress-importer/),
   [English (Australia)](https://en-au.wordpress.org/plugins/wordpress-importer/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/wordpress-importer/), 
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/wordpress-importer/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/wordpress-importer/),
   [English (UK)](https://en-gb.wordpress.org/plugins/wordpress-importer/), [English (US)](https://wordpress.org/plugins/wordpress-importer/),
   [Esperanto](https://eo.wordpress.org/plugins/wordpress-importer/), [Finnish](https://fi.wordpress.org/plugins/wordpress-importer/),
   [French (Belgium)](https://fr-be.wordpress.org/plugins/wordpress-importer/), 
   [French (Canada)](https://fr-ca.wordpress.org/plugins/wordpress-importer/), [French (France)](https://fr.wordpress.org/plugins/wordpress-importer/),
   [Galician](https://gl.wordpress.org/plugins/wordpress-importer/), [German](https://de.wordpress.org/plugins/wordpress-importer/),
   [Greek](https://el.wordpress.org/plugins/wordpress-importer/), [Gujarati](https://gu.wordpress.org/plugins/wordpress-importer/),
   [Hebrew](https://he.wordpress.org/plugins/wordpress-importer/), [Hungarian](https://hu.wordpress.org/plugins/wordpress-importer/),
   [Icelandic](https://is.wordpress.org/plugins/wordpress-importer/), [Indonesian](https://id.wordpress.org/plugins/wordpress-importer/),
   [Italian](https://it.wordpress.org/plugins/wordpress-importer/), [Japanese](https://ja.wordpress.org/plugins/wordpress-importer/),
   [Korean](https://ko.wordpress.org/plugins/wordpress-importer/), [Lithuanian](https://lt.wordpress.org/plugins/wordpress-importer/),
   [Malay](https://ms.wordpress.org/plugins/wordpress-importer/), [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/wordpress-importer/),
   [Norwegian (Nynorsk)](https://nn.wordpress.org/plugins/wordpress-importer/), 
   [Pashto](https://ps.wordpress.org/plugins/wordpress-importer/), [Persian](https://fa.wordpress.org/plugins/wordpress-importer/),
   [Polish](https://pl.wordpress.org/plugins/wordpress-importer/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/wordpress-importer/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/wordpress-importer/),
   [Romanian](https://ro.wordpress.org/plugins/wordpress-importer/), [Russian](https://ru.wordpress.org/plugins/wordpress-importer/),
   [Slovak](https://sk.wordpress.org/plugins/wordpress-importer/), [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/wordpress-importer/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wordpress-importer/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/wordpress-importer/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/wordpress-importer/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/wordpress-importer/), 
   [Spanish (Peru)](https://pe.wordpress.org/plugins/wordpress-importer/), [Spanish (Spain)](https://es.wordpress.org/plugins/wordpress-importer/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wordpress-importer/), 
   [Swedish](https://sv.wordpress.org/plugins/wordpress-importer/), [Thai](https://th.wordpress.org/plugins/wordpress-importer/),
   [Turkish](https://tr.wordpress.org/plugins/wordpress-importer/), [Uighur](https://ug.wordpress.org/plugins/wordpress-importer/),
   [Ukrainian](https://uk.wordpress.org/plugins/wordpress-importer/), [Vietnamese](https://vi.wordpress.org/plugins/wordpress-importer/),
   and [Welsh](https://cy.wordpress.org/plugins/wordpress-importer/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer)
 * Tag
 * [importer](https://tah.wordpress.org/plugins/tags/importer/)
 *  [Advanced View](https://tah.wordpress.org/plugins/wordpress-importer/advanced/)

## Ratings

 3.1 out of 5 stars.

 *  [  127 5-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=5)
 *  [  29 4-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=4)
 *  [  23 3-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=3)
 *  [  30 2-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=2)
 *  [  112 1-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wordpress-importer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Contributors

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

## Support

Issues resolved in last two months:

     0 out of 3

 [View support forum](https://wordpress.org/support/plugin/wordpress-importer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://wordpressfoundation.org/donate/)