1. Export CMS Pages via Admin (Commerce only)
If you’re on Adobe Commerce, you can:
-
Go to Content > Elements > Pages.
-
Use the Export option (CSV or XML).
-
This feature is not available in Magento Open Source by default.
-

2. Export via CLI (for both Open Source & Commerce)
You can use n98-magerun2 (a powerful CLI tool for Magento).
n98-magerun2 cms:page:list –format=csv > cms_pages.csv
3. Export via Database Query
If you have direct DB access:
SELECT * FROM cms_page;
You can export the result into a CSV file from phpMyAdmin or MySQL CLI: