WordPress already has this available under Tools > Export.
You can export all of your posts, comments, authors, etc. into an XML file which you can them Import into a new (or not new) installation.
I believe this has been part of the core since WordPress 2.1.
Related Posts:
- Migrating from PDO using SQLite to clean new install using MySQL
- Image link issues after importing a database backup to my local web server
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- Multiple developers / editors working on a site in progress
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Solution for database version control and deployment?
- How to migrate a HTTPS WordPress installation to localhost?
- How can I migrate from another platform to WordPress (using the same domain) and launch when ready?
- Migrating data between local and development server
- Best way to import users, post and categories from an external database
- Syncing local content with development / staging sites
- Organizing WP Pages based on old website database
- Presentation vs Content in WP DB-Tables
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- Migrate a Non WordPress database to wordpress [closed]
- Sub-domain or 2nd, temporary different domain?
- Cloning and syncing a WordPress website
- WordPress showing install screen after max_questions error
- Installation with sql server express edition
- Weird issue with database migration and SSL links
- How to fix unchanged URLs in Database after running serialized search and replace script?
- Migrating database / content of non-CMS site to WordPress
- How do I reset a self-hosted WordPress URL?
- I don’t see site_url and home_url fields in wp_options table (phpMyAdmin)?
- Automate dir and DB stack creation with WP-CLI
- Error establishing a database connection on Installation
- Migrating WordPress from DreamHost to Azure WordPress Resource via UpdraftPlus “wp_options table does not exist…” error
- Moving minor updates between local and live sites – just database?
- How to move the WordPress site Layout from test site to Production site?
- Merging two databases without borking it
- Why does importing copies of the database dump and the document root make WordPress data inconsistent?
- Able to use all admin pages but in the frontend there is a “Error establishing a database connection”-Error
- Trouble Migrating all data blog from WordPress.com to WordPress.org
- Copying database tables to new database
- “Database Connection Error” upon install in Apache VirtualHost document root.. Why did this happen? [closed]
- how to migrate wpmu from one host to the other?
- Migration: Copying database content to a different server
- Selectively restoring original posts from a compromised site to a freshly installed WordPress database
- Change WordPress URL in sql file via Terminal
- Moving to another server database connection error [closed]
- Strange characters added to the database
- Is it possible to have more than 1 MySQL database in my WordPress blog?
- Create database on installation
- After database migration, theme mods don’t show [closed]
- Reinstalling wordpress from database breaks the site
- Problem migrating to localhost
- Choosing http or https during manual installation of WordPress and database
- WordPress url transformation script
- Installation question
- Multiple WordPress sites installs sharing the same database but with different content and domains
- How to transfer from localHost to live but use the already existing database on the server?
- Database create or redirect
- Database migration issues – Error #1046 No database selected
- echo site_url() returns a different value than what is in the database siteurl field
- New installation fatal error in 5.9.3 at edit or create entry
- Migrate Users From laravel to wordpress
- /wp-admin not accessible after migrating to local host (no plugin issue)
- How to fix Uploaded to this post option to see group of images uploaded to a post?
- How do you enable scripts on a WordPress installation in Softaculous?
- WordPress site migration – locked out of admin area
- Malware in old website – how to migrate?
- WordPress credentials not matched
- WP website showing blank page after moving from subdomain to main domain
- unable to use my wordpress site after moving
- WordPress Migration – Issue with admin panel changes
- Do I need to be selective about where I search and replace when pointing a domain to a subfolder used for development?
- How to edit posts/pages without making the change live?
- Migrate not successful, DB is broken. How to fix, or at least output static HTML without plugins?
- After Migration From dev, Only my Links to the Homepage Still Redirect to dev
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- I cannot change anything in my wordpress database from within wordpress?
- Copy WordPress to new directory
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- Can’t Install WordPress (local) Failed to open file wp-includes/wp-db.php
- Media library images “missing” after migrating them using SQL
- Why is wordpress trying to re-install itself?
- Restoring .sql backup results in “Error establishing a database connection”
- import (migration) user database to wp-users
- Database question while Migrating from one domain to another on same WebHost [Bluehost]
- Moving database from WP 2.6 to 3.5 problem
- Install WordPress with SQL database
- Importing Concrete5 content to WordPress
- WordPress can’t fetch the posts from the database after moving to new server [closed]
- What is the advantage of separating wp_users and wp_usermeta table?
- WordPress page title repeated in SOME pages
- Help running a MySQL query to update all wp_#_options tables in a Multisite install
- Use one WordPress database with multiple instances of one site
- Form that sends data to an admin panel and can export it
- Convert user passwords to MD5?
- How do I have a user upload a blog post and then retrieve that to display in a card on the site?
- Delete user with only subscriber role
- How to rename custom table name programatically in wordpress?
- pre_get_posts causings DB error when using ( ‘posts_per_page’, -1)?
- generate PDF from member information
- How to duplicate a website?
- Creating a database in my plugin not working
- get_user_meta and umeta_id
- Simple email input store in database
- $wpdb->insert not working for last select option