wordpress_migrate supports migrating WordPress blog exports (WXR format) into Drupal using the Migrate module, which is now in Drupal core. Import of WordPress posts, pages, comments, attachments, tags and categories is supported. Imports can be rolled back completely.
Now Drupal 10 compatible!
See the documentation landing page and FAQ. New to Drupal? Check out WordPress and Drupal terminology and concepts, and how to generate WordPress test content to test migrations.
The Drupal 10/11 version is under development in the 8.x-3.x branch. For Drupal 11 see: #3435726. See [#2904990] for major issues.
Drupal 9 support was added in alpha4 and Drupal 10 compatible with alpha6. Alpha7 is the last version supporting Drupal 9.x, 10.0.x, and 10.1.x. The next release, Alpha8, will only support Drupal 10.2.x+ and Drupal 11.
The Drupal 7 & 8 versions are not being actively developed - the current focus is on D9-11. Docs for Drupal 7 version here.
Dependencies
Version 8.x-3.x requires pathauto, migrate_tools (6.x preferred), migrate_plus (6.x preferred) and ctools (3.4+ or 4.0+). Currently there is no direct drush support but configurations that are already created can be run with drush commands managed by other modules.
In older versions drush 8 is recommended to run the migration. Version 7.x-2.4 requires Migrate 2.7 or later. Migrate Extras is recommended if you have Pathauto installed and enabled and required if you have Media installed and enabled.
Acknowledgements
Original wordpress_migrate development on Drupal 7 was sponsored by Acquia. Development during 2017-2019 was sponsored by kor group.
Similar projects
WordPress Migrate SQL: Enables customized migrations based on Wordpress SQL sites, allowing migration of complex WordPress sites, using a SQL source. wp_migrate is another module which is compatible with up to Drupal 9.