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

---

Recherche d’extensions

![](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

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

[Télécharger](https://downloads.wordpress.org/plugin/wordpress-importer.0.9.5.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/wordpress-importer/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/wordpress-importer/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/wordpress-importer/#installation)
 * [Développement](https://fr-ca.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)

## Avis

![](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/) 7 avril 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/) 6 avril 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/) 3 avril 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/) 25 mars 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 👍

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

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

 [averypulido](https://profiles.wordpress.org/averypulido/) 5 mars 2026

Used WordPress Importer to move some posts from another site. The process was simple
and worked fine. Took a bit of time on bigger files, but overall, it did the job
well. Tnkz devs.

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

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

 [thomas452](https://profiles.wordpress.org/thomas452/) 17 février 2026

Used WordPress Importer to move demo content. Worked fine most of the time. Setup
was easy & import was smooth. Had small issue with big files but retry fixed it.
Helpful tool overall. tnkz 👍

 [ Lire les 318 avis ](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Contributeurs & développeurs

« WordPress Importer » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

“WordPress Importer” a été traduit dans 60 locales. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer/contributors)
pour ses contributions.

[Traduisez « WordPress Importer » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/wordpress-importer/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/wordpress-importer/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/wordpress-importer/)
par [RSS](https://plugins.trac.wordpress.org/log/wordpress-importer/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 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)

## Méta

 *  Version **0.9.5**
 *  Last updated **il y a 5 mois**
 *  Active installations **2+ million**
 *  WordPress version ** 5.2 ou plus **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.2 ou plus **
 *  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/),
   et [Welsh](https://cy.wordpress.org/plugins/wordpress-importer/).
 *  [Traduire dans votre langue](https://translate.wordpress.org/projects/wp-plugins/wordpress-importer)
 * Tag
 * [importer](https://fr-ca.wordpress.org/plugins/tags/importer/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/wordpress-importer/advanced/)

## Notes

 3.1 out of 5 stars.

 *  [  127 5-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=5)
 *  [  28 4-star reviews     ](https://wordpress.org/support/plugin/wordpress-importer/reviews/?filter=4)
 *  [  22 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/)

## Contributeurs

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

## Support

Erreurs résolues ces deux derniers mois :

     0 sur 2

 [Voir le forum de support](https://wordpress.org/support/plugin/wordpress-importer/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://wordpressfoundation.org/donate/)