WordPress – Tools–> Export
When you click the button below WordPress will create an XML file for you to save to your computer.
This format, which is called WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.
Once you’ve saved the download file, you can use the Import function in another WordPress installation to import the content from this site.
Choose what to export
Content to export
All content
This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.