How to export and import SEO data with CSV
You can export the meta titles, meta descriptions and target keywords of your pages to a CSV file, edit them in a spreadsheet and import them back. This article shows both steps, the file rules and what the import preview tells you before anything changes.
Before you start
- Import changes meta titles, meta descriptions and target keywords. It does not change ALT text or URLs.
- Nothing changes until you confirm in the preview.
- You can undo a whole import, including its target keyword changes, from History for 30 days. A value you changed after the import is kept.
Export your pages
- Open SEO audit.
- Select Export CSV.
- Wait for the toast saying the file was downloaded.
The file has one row per page, sorted by type and then title, with these columns:
| Column | What it holds |
|---|---|
| URL handle | The page handle. For a blog post it is the blog handle, a slash, then the post handle |
| Type | product, collection, page or blog post |
| Meta title | The stored meta title, empty if none |
| Meta description | The stored meta description, empty if none |
| Target keyword | The keyword you set in the app, empty if none |
Starting from an export is the safest way to get the right columns.
Prepare the file
Open the file in Excel or Google Sheets and edit it. Keep these rules.
- The file needs the columns URL handle and Type. The meta and keyword columns are optional. A missing column keeps that field as it is.
- An empty cell keeps the current value.
- Write
[clear]in a cell to empty that field. - Each page can appear only once in the file.
- Keep the file under 2 MB and 5,000 rows, not counting the header. For more, split it into several files.
- Save it as CSV UTF-8.
Limits for values: a meta title up to 255 characters, a meta description up to 320 and a target keyword up to 100.
Import the file
- Open SEO audit and select Import CSV.
- Under Upload a CSV file, choose your file.
- Select the upload button. The app reads the file and shows a preview. Nothing is written yet.
- Review the Changes table. It shows each Page, the Field and the Current value next to the new one.
- Review Rows with errors, if any. You can download the file with every error row.
- Select the import button, for example "Import 120 changes", and confirm in the dialog.
- A progress bar shows the import. When it ends, a banner shows the result and Back to SEO audit returns you to the audit.
[!WARNING] The confirmation says fields you wrote by hand are replaced wherever the file has a value. If a value in Shopify changed after the preview, that row is kept as it is and listed as not imported.
Understand the preview
| What you see | What it means |
|---|---|
| Changes (N) | The fields the import will write |
| Nothing to change | The file matches your store, so there is nothing to import |
| Rows with errors | Rows the import skips. The other rows still import |
| This preview expired | The preview is kept for 24 hours. Upload the file again |
| This file was already imported | A preview can be applied only once |
Common row errors:
- No page with handle "x". The handle and type do not match a page in your store.
- This page is already in row N. The same page appears twice.
- The title, description or keyword is longer than the limit.
- The type is not one of the four allowed values.
File errors
| Message | What to do |
|---|---|
| This file is over 2 MB. Split it into files of up to 5,000 rows. | Split the file |
| This file has more than 5,000 rows. Split it into smaller files. | Split the file |
| Save the file as CSV UTF-8, then upload it again. | Re-save the file as CSV UTF-8 |
Formulas in cells are not read as formulas.
Related articles
- How the SEO score works
- How to read the Issues, All pages and Passed checks tabs
- How to fill empty fields from templates
- How to see what changed and undo it in History
← How to fill empty fields from templates How to clean up messy URLs →