Convert CSV to XML Sitemap

How to convert data from a CSV to XML?

  1. Prepare your CSV file:
    Create a CSV spreadsheet, following the proposed ñolumn mapping.

  2. Enable the “Import from a CSV” option on the Data Source settings tab:
    Once you enable this option you can specify the file URL or upload it from your device (direct upload only applies to Public Free and Static Pro plans).

  3. Setup other necessary and/or related file generation settings and defaults (optional).

  4. Start your service.

 

Column Mapping of CSV File for XML Sitemap Generator

Required fields & explanations of spreadsheet columns:

Download Example

Element nameDescriptionIs this required
URL

Valid column names: url

Recommended content type: String

Description: page URL

Required

It is allowed to use a URI relative to the website domain

Lastmod

Valid column names: lastmod

Recommended content type: Datetime

Description: Date of page modified

Not required

Used when enabling the corresponding option in the settings and selecting the value of "server response"

Priority

Valid column names: priority

Recommended content type: Float

Description: Priority of the page from 0.1 to 1.0

Not required

Used when enabling the corresponding option in the settings

Changefreq

Valid column names: changefreq

Recommended content type: String

Description: Page changefreq mode – always, hourly, daily, weekly, monthly, yearly, never

Not required