Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Export All WordPress URLs in Plain Text

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Recently, one of our users asked us if it was possible to export all WordPress URLs in plain text or a CSV file.

Sometimes, you may need those URLs for migrating a website or setting up redirects.

In this article, we will show you how to export all WordPress URLs in plain text.

Export all WordPress URLs in plain text

Why You May Need to Export All WordPress URLs in Plain Text?

WordPress comes with built-in tools to export content in an XML file. You can use this file to import your content into another WordPress website.

These tools allow you to move WordPress to a new domain name or transfer from a local server to a live site.

However, sometimes, you may need a list of URLs for a number of reasons. You might need to set up redirects to a new website, share URLs with an SEO team, or set up tracking using some SEO tools.

Now that you know the use cases, let’s see how you can easily export all URLs from your WordPress site to a text file.

Exporting WordPress URLs in Text and CSV Format

The first thing you need to do is install and activate the Export All URLs plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Settings » Export All URLs page. The plugin allows you to export URLs for all your posts, pages, and custom post types. You can also limit it to selected post types if you want.

Export all URLs settings page

You can also select what data you want to export. The plugin allows you to export WordPress URLs, titles, and categories. There is also an ‘Export Type’ option that lets you export this data in a CSV file or display it right on the settings page.

Click on the ‘Export’ button to continue.

Depending on your settings, the plugin will either display the exported data on the plugin’s settings page or export it in the CSV file format.

Exported data

CSV files are plain text files with comma-separated values. You can open these exported files in a plain text editor. You can also open them in a spreadsheet software like Microsoft Excel, Numbers, or Google Sheets.

We hope this article helped you learn how to export all WordPress URLs in plain text. You may also want to see our guide on how to create a free business email address and our expert pick of the best WordPress backup plugins to keep your content safe.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

13 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

    • WPBeginner Support says

      Depending on the error you’re running into, you should be able to reach out to the plugin’s support for them to be able to assist you.

      Admin

  2. Mitch Lee says

    It appears that this plugin has been reported to host malware in reviews. Can anyone confirm?

    • WPBeginner Support says

      The plugin is hosted on the WordPress.org repository which means it is reviewed by the WordPress plugin team to ensure there is no malware in the plugin.

      Admin

  3. Mohsin Alam says

    Using this pluging I can have all post URL only. I need to export all category URL also. How can I do this? Thanks

  4. RAMI ISSA says

    Thank you so much … really i need like this plugin bcz my website has alot of pages and i need to extract theM for reindexing
    Thank you again

  5. Simon Kelly says

    Super useful, thanks! Used this to build a spreadsheet list of old URLs that need to be redirected to the new URLs when we launch.

Leave a Reply to Mohsin Alam Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.