XML Converter · Tutorial

How to create an XML product feed from a spreadsheet

5 min readbeginnerUpdated

A marketplace wants your product list as XML, but you keep it in a spreadsheet. You will export CSV, convert it with meaningful element names and check the result.

What you need

  • The XML Converter set to CSV → XML
  • A product spreadsheet saved as CSV

Steps

  1. Export CSV

    In your spreadsheet choose File › Download › CSV or Save as CSV. Make sure the first row holds column names.

  2. Paste and name the elements

    Load the example, then set Root element to products and Row element to product.

    <products>
      <product>
        <sku>LMP-001</sku>
        <name>Desk Lamp</name>
  3. Match the marketplace format

    If their example puts values in attributes, tick Columns as attributes to get <product sku="LMP-001" name="Desk Lamp" …/>.

  4. Validate and upload

    Download the file. If the marketplace provides an XSD schema, check the file with the XSD tab of the XML Formatter before uploading.

Try it yourself

Opens the XML Converter with this tutorial's sample loaded.

Try it now

Common mistakes

Spaces in column names
"Product Name" becomes Product_Name. Rename the column in the spreadsheet if the receiver expects name.
Numbers formatted by the spreadsheet
Some spreadsheets export 34.90 as 34.9 or with a comma. Format price columns as text before exporting if exact values matter.

Next steps

Go back to the XML Converter, or keep going with one of these: