Skip to main content
← All guides

8 min read

Edit a Meta (Facebook, Instagram) catalog XML feed in Excel

By Quentin Delepierre, Salesforce Commerce Cloud consultant

The catalog Meta reads for your Facebook and Instagram ads can be an XML feed: an RSS or Atom file where each product is an <item>. To change prices, titles or availability in bulk, you open it as a table in Excel, then rebuild the XML. Here is the format Meta describes, what a sample feed gives when run through ExcelifyXML (columns, warnings, round trip), and how this feed compares with the Google Shopping one.

Got your own XML? Drop it in and see it as a table, free and with no account. For an Excel file you can edit and then rebuild into an XML that keeps its structure, a free account is all you need.

Transform a file

Simple Excel table, free with no account, for files up to 1 MB. File that rebuilds into XML: free account, 3 free credits, no credit card.

Download an example result (.xlsx)Example source XML

The XML feed format Meta describes

Meta's catalog reference page (Meta for Developers, consulted on 20/11/2026) lists four feed formats: CSV, TSV, RSS XML and Atom XML. The RSS is RSS 2.0, with an XML declaration that states the version and the encoding; the Atom follows the Atom Syndication Format.

Attributes of the Google Merchant Center namespace are written with the g: prefix, declared on the root: xmlns:g="http://base.google.com/ns/1.0". Meta states that it also accepts those attributes without the prefix. What the page says about fields:

  • Fields to provide: id, title, description, availability, condition, price, link, image_link and brand. The page talks about a good product experience, and says its “recommended” and “additional” labels indicate a quality priority, not an automatic rejection of the item.
  • For Advantage+ catalog ads: at least one of gtin, mpn or brand. Meta asks you to provide a GTIN or an MPN only if you're sure of its value.
  • Price: a number, a space, then the three-letter ISO 4217 currency code (9.99 USD, 7.99 EUR), always with a period as the decimal point, never a comma.
  • Availability: in stock, out of stock, or preorder (for eligible integrations only).
  • Condition: the page lists new, refurbished, used and used_like_new among the accepted values; the full list adds used_good, used_fair, cpo and open_box_new.
  • Line length: if a line of the XML goes over the limit (5,242,880 bytes by default, configurable), Meta advises putting one field per line.

It looks like a Google Shopping feed, with a few differences

A Meta feed is very close to a Google Shopping feed: same RSS 2.0, same g: namespace, same field names (g:id, g:title, g:price, g:availability…), same price format. For ExcelifyXML it's the same job: one row per <item>, one column per field. What the Google Shopping guide says about columns, repeated fields and what is kept on the way back applies here, and the price formulas of the guide on fixing prices work as they are.

What differs, according to Meta's page:

  • The g: prefix is optional at Meta. ExcelifyXML keeps names as written: g:price columns if the feed has the prefix, price columns if it doesn't.
  • Meta also reads Atom, where the row is an <entry> (see below).
  • The allowed values are Meta's, not necessarily Google's: Meta's page lists three availability values (the Google Shopping guide lists one more, backorder).
  • The “at least one of gtin, mpn or brand” requirement is the one for Meta's Advantage+ catalog ads.

A sample feed, run through the engine

Here is a small invented feed, four products: a sale price on the last one, and two extra images. Run through ExcelifyXML, the engine detects <item> as the row tag (one row per product), gives 4 rows and 11 columns, and shows no warning.

  • g:sale_price has a column because the last product has a sale price: the cell is empty for the other three. Filling one of those cells creates the tag, placed right after g:price.
  • g:additional_image_link appears twice in the last product: both addresses fit in a single cell, one per line (the “Group repeated values in one cell” option, ticked by default).
  • The feed header tags (<title>, <link>, <description> of the <channel>) aren't in the table: they come back in place in the XML.
The sample feed (fictional)
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Sample Shop</title>
    <link>https://www.example.com</link>
    <description>Demo catalog</description>
    <item>
      <g:id>LAMP-001</g:id>
      <g:title>Aurore desk lamp</g:title>
      <g:description>Adjustable LED lamp in light wood</g:description>
      <g:availability>in stock</g:availability>
      <g:condition>new</g:condition>
      <g:price>49.90 EUR</g:price>
      <g:link>https://www.example.com/aurore-lamp</g:link>
      <g:image_link>https://www.example.com/img/aurore-lamp.jpg</g:image_link>
      <g:brand>Fictional Workshop</g:brand>
    </item>
    <item>
      <g:id>CHAISE-002</g:id>
      <g:title>Brume chair</g:title>
      <g:description>Stackable chair in lacquered metal</g:description>
      <g:availability>in stock</g:availability>
      <g:condition>new</g:condition>
      <g:price>79.00 EUR</g:price>
      <g:link>https://www.example.com/brume-chair</g:link>
      <g:image_link>https://www.example.com/img/brume-chair.jpg</g:image_link>
      <g:brand>Fictional Workshop</g:brand>
    </item>
    <item>
      <g:id>PLAID-003</g:id>
      <g:title>Nuage wool blanket</g:title>
      <g:description>Wool blanket of 130 x 170 cm</g:description>
      <g:availability>out of stock</g:availability>
      <g:condition>new</g:condition>
      <g:price>64.50 EUR</g:price>
      <g:link>https://www.example.com/nuage-blanket</g:link>
      <g:image_link>https://www.example.com/img/nuage-blanket.jpg</g:image_link>
      <g:brand>Imaginary House</g:brand>
    </item>
    <item>
      <g:id>VASE-004</g:id>
      <g:title>Opale vase</g:title>
      <g:description>Blown glass vase</g:description>
      <g:availability>in stock</g:availability>
      <g:condition>refurbished</g:condition>
      <g:price>35.00 EUR</g:price>
      <g:sale_price>28.00 EUR</g:sale_price>
      <g:link>https://www.example.com/opale-vase</g:link>
      <g:image_link>https://www.example.com/img/opale-vase.jpg</g:image_link>
      <g:additional_image_link>https://www.example.com/img/opale-vase-2.jpg</g:additional_image_link>
      <g:additional_image_link>https://www.example.com/img/opale-vase-3.jpg</g:additional_image_link>
      <g:brand>Imaginary House</g:brand>
    </item>
  </channel>
</rss>
The 11 columns, in order
g:id , g:title , g:description , g:availability , g:condition , g:price , g:sale_price , g:link , g:image_link , g:additional_image_link , g:brand
The table (five columns out of eleven)
g:id , g:title , g:availability , g:price , g:sale_price
LAMP-001 , Aurore desk lamp , in stock , 49.90 EUR ,
CHAISE-002 , Brume chair , in stock , 79.00 EUR ,
PLAID-003 , Nuage wool blanket , out of stock , 64.50 EUR ,
VASE-004 , Opale vase , in stock , 35.00 EUR , 28.00 EUR

Edit a price, then rebuild the XML

  1. Get the XML feed as Meta reads it (the file from your CMS, your PIM or the tool that builds it) and keep a copy: it's your way back.
  2. Drop it on ExcelifyXML: the free preview, with no account, shows one row per product (<item>). Confirm with “Transform to CSV — 1 credit”, then choose the Excel file (.xlsx).
  3. Open it in Excel and edit the cells: a price, a title, an availability. Rename no header, and keep Meta's format for a price (“54.90 EUR”).
  4. Save, then drop the Excel file, alone, on the Rebuild page (free): the XML comes back with the feed's structure.
  5. Put the XML back where Meta reads your feed. ExcelifyXML doesn't connect to Meta: it produces a file, you publish it.
  • In this example, a round trip with no edit gives back the same file, give or take a final line break, and with the price changed only that line differs. That isn't guaranteed for every feed: an empty self-closing tag disappears, for instance.
  • The rebuilt XML writes each field on its own line, as in the example: that's the layout Meta recommends when it reports a line that is too long.
  • For a percentage increase or decrease, the formulas of the guide on fixing prices work as they are: Meta's price format is the same (number, space, currency code, decimal point).
Product LAMP-001 in the rebuilt XML, after replacing 49.90 EUR with 54.90 EUR
<item>
  <g:id>LAMP-001</g:id>
  <g:title>Aurore desk lamp</g:title>
  <g:description>Adjustable LED lamp in light wood</g:description>
  <g:availability>in stock</g:availability>
  <g:condition>new</g:condition>
  <g:price>54.90 EUR</g:price>
  <g:link>https://www.example.com/aurore-lamp</g:link>
  <g:image_link>https://www.example.com/img/aurore-lamp.jpg</g:image_link>
  <g:brand>Fictional Workshop</g:brand>
</item>

An Atom feed, or one without the g: prefix

Two variants Meta's page allows, tried with small invented files:

  • Atom: the engine takes <entry> as the row tag. A <link href="…"/> gives two columns, link.@href (the address) and link (empty); g: fields keep their name. Columns of an Atom feed with five fields: g:id, g:title, g:availability, g:price, link.@href, link.
  • Without prefix: a feed whose fields are written <id>, <title>, <price> gives id, title, price columns, and the XML comes back written the same way.

What ExcelifyXML doesn't do

  • It checks neither the fields Meta asks for nor the allowed values: it writes what the cells contain. Read Meta's page again before a big upload, and try a feed cut down to a few products first.
  • It doesn't connect to Meta: no reading of the catalog, no upload, no reading of Meta's diagnostics.
  • Long GTINs or ones with leading zeros are at risk in Excel: take the Excel file (.xlsx), where every column is formatted as Text, rather than a CSV opened with a double-click.

Have a Meta feed to edit? Drop it to see the free preview, no account needed:

Transform a file