# eBay description template: the HTML eBay allows and what it blocks

> eBay's rules for listing descriptions as of November 2026: no active content, HTTPS only, few allowed links, an 800-character mobile summary, and a clean HTML template.

Source: https://central.to/guides/ebay-description-template · Updated 2026-11-24 · Published by Central (https://central.to)

## In short

- eBay does not allow active content such as JavaScript, Flash, plug-ins and form actions in listing descriptions; it has removed it from existing listings and blocks it in new ones.
- A new listing with active content gets the error Disallowed JavaScript/HTML Syntax and cannot be listed until the content is removed.
- eBay's developer guide says HTML in descriptions should use relative widths and heights, and images and other fixed-size objects should not be wider than 700 pixels.
- External links in a description are limited to externally hosted images, product videos, freight shipping services and legally required information, and all of them must use HTTPS.
- Sellers can mark a mobile summary of up to 800 characters with a div and span tag; inside it, eBay accepts only lists, line breaks and non-breaking spaces.
- An eBay description can have up to 500,000 characters, HTML tags included.

Free tool: [eBay description cleaner](https://central.to/tools/ebay-description-cleaner). Remove the active content eBay does not allow in a listing description (JavaScript, plug-ins, forms) and keep the layout and the embedded videos eBay allows.

## What eBay allows and blocks at a glance

As of November 2026, read on eBay's policy, help and developer pages on November 23, 2026:

| Topic | eBay's rule | Source |
| --- | --- | --- |
| HTML | Allowed. All tags count toward the character limit | [HTML formatting](https://developer.ebay.com/api-docs/user-guides/static/trading-user-guide/formatting.html) |
| Active content | Not allowed: JavaScript, Flash, plug-ins and form actions. Removed from existing listings, blocked in new ones | [JavaScript policy](https://www.ebay.com/help/policies/listing-policies/javascript-policy?id=4247) |
| Sizes | Relative widths and heights. Images and other fixed-size objects at most 700 pixels wide | HTML formatting |
| External content | Only externally hosted images, product videos, freight shipping services and legally required information, all over HTTPS | HTML formatting |
| Links | No links to sites other than eBay, even if they are not clickable | [Links policy](https://www.ebay.com/help/policies/listing-policies/links-policy?id=4248) |
| Contact details | No phone numbers, email addresses, social media IDs or web addresses before a sale is completed | [Offers outside of eBay policy](https://www.ebay.com/help/policies/payment-policies/offers-buy-sell-outside-ebay-policy?id=4272) |
| Mobile summary | Up to 800 characters inside a marked span tag | [Mobile device optimization](https://developer.ebay.com/api-docs/user-guides/static/trading-user-guide/mobile.html) |
| Length | Up to 500,000 characters, HTML tags included | [Inventory API](https://developer.ebay.com/develop/api/spec/inventory_api.json) |
| Content | Accurate, directly related to the item or your terms, in the primary language of the eBay site | [Item description policy](https://www.ebay.com/help/policies/listing-policies/item-description-policy?id=4372) |

If you have an old template, start with the cleaner at the top of this page. It removes scripts, forms, plug-ins and frames from a description and keeps the layout; a video embedded over HTTPS from one of the sites eBay lists stays. The template further down is a clean starting point for new listings.

## The active content rule

Active content is everything in a description that runs or sends data. eBay's JavaScript policy names four kinds: JavaScript, Flash, plug-ins and form actions. Its examples are scrolling item pickers, embedded feedback, social sharing icons and currency conversion widgets.

What eBay does with it:

| Case | What happens |
| --- | --- |
| New listing with active content | Error "Disallowed JavaScript/HTML Syntax". The item cannot be listed until the active content is removed, or the script is disabled when the page is shown |
| Existing listing | eBay has removed active content from all existing listings. Buyers no longer see it, and the description may not appear as intended |
| Breaking the policy | eBay names removing the listing, a warning, restricted activity and account suspension as possible actions |

The policy also lists what a script may never do, among other things: call remote scripts or pages automatically, open pop-ups on its own, drop or read cookies on eBay pages, start a song or video when the listing opens, change anything outside the description area, or send the buyer from eBay to another page.

What this means for the parts of an old template:

| Part of an old template | Why eBay blocks it | What to do |
| --- | --- | --- |
| Script tags and event attributes such as `onclick` | JavaScript | Remove |
| Search box, newsletter sign-up, contact form | Form actions | Remove; buyers reach you through eBay Messages |
| Flash banners, embedded objects | Flash and plug-ins | Remove |
| Tabs, accordions and image sliders driven by scripts | JavaScript | Show the sections one after the other under headings; put pictures in the listing's photo gallery |
| Social sharing icons, currency converters, feedback widgets | Named by eBay as examples of active content | Remove |

The [eBay description cleaner](https://central.to/tools/ebay-description-cleaner) does the removal for a pasted description. Read the result before you use it: a section that only worked through a script, such as a tab, needs a heading after the cleanup.

## The HTML and CSS that remain usable

eBay's developer guide states four rules for HTML in descriptions:

1. HTML is allowed; active content is blocked or removed.
2. All HTML tags count toward the maximum length.
3. HTML content should use relative widths and heights.
4. Images and other fixed-size objects should not exceed 700 pixels in width.

The pages read for this guide contain no list of allowed tags and no list of allowed CSS properties. The template below therefore stays with plain structure:

| Building block | In the template | Note |
| --- | --- | --- |
| Headings | `h2`, `h3` | The listing title is the page's main heading; start below it |
| Text | `p`, `strong` | Full sentences, correct spelling |
| Lists | `ul`, `li` | Lists are also allowed inside the mobile summary |
| Facts table | `table`, `tr`, `th`, `td` | Width in percent, not in pixels |
| Styling | `style` attributes on the elements | eBay's own guide uses a `style` attribute in its example |
| Pictures | Not in the template | Use the listing's photo gallery. An image in the description must come from an HTTPS server and stay within 700 pixels |

**External CSS files and web fonts.** eBay limits external links in a listing to four kinds: externally hosted images, product videos, freight shipping services and legally required information. A stylesheet or font file on your own server is none of these. eBay's pages do not mention stylesheets by name, so this is a reading of the rule, and it is why the template carries all its CSS in `style` attributes and uses fonts that every device has.

**HTTPS.** All external links must use HTTPS. eBay states that an image server without HTTPS cannot be used.

## The short summary on phones

eBay's developer guide says a listing description on a mobile device cannot exceed 800 characters. If the description is longer, the full text is not shown, and the 800 characters eBay displays are not necessarily the first 800. You can decide yourself what is shown by marking a summary:

```
<div vocab="https://schema.org/" typeof="Product">
  <span property="description">Your summary of up to 800 characters.</span>
</div>
```

The rules for what sits between the span tags:

| Rule | What eBay states |
| --- | --- |
| Length | Up to 800 characters; HTML tags count. Text beyond the limit is dropped |
| Formatting allowed | Ordered and unordered lists, line breaks, non-breaking spaces |
| How formatting counts | Each list element counts as 3 characters, each line break as 50, each non-breaking space as 1. The surrounding list tags do not count |
| On desktop | The summary is visible in the full description by default. Adding `style="display:none"` to the div tag hides it there |
| When it is not needed | If the whole description has fewer than 800 characters |
| Where it works | US, UK, Australia, France, Germany, Italy, Spain and eBay Motors |

eBay's pages differ on what happens without a marked summary. The developer guide speaks of 800 characters that are not necessarily the first ones. The [German help page](https://www.ebay.de/help/selling/listings/ein-angebot-erstellen?id=4105) says eBay shows the section with the most relevant 250 characters, and that your own summary can have up to 800. In both cases the answer is the same: write the summary yourself.

A summary answers four questions: what the item is, its condition, what is included, and the facts that decide the purchase.

## Links: what is allowed

eBay's links policy starts from a ban: a listing cannot contain links that lead to a site other than eBay, even if the link is not clickable. A web address written as plain text falls under it.

| Allowed in a description | Not allowed |
| --- | --- |
| Links to other eBay pages, such as your other items or your Store | Links to your own shop or any other site where the item can be bought |
| Product videos that are specific to the item. eBay names the hosts YouTube, Vimeo, Brightcove, Ustream, Screencast, Kizoa and DailyMotion | Links to pages outside eBay that ask for personal or payment details |
| Freight shipping services approved by eBay | Links to unsecured sites |
| Legally required information | A web address as a Store name |

Allowed links must use HTTPS, and the developer guide adds that external links should carry `target="_blank"`. A credit for a third-party provider, such as the maker of a template, is limited to 10 words of text plus a logo of at most 88 x 33 pixels.

## What must not be in a description

- **Contact details.** eBay does not allow sharing or requesting direct contact information before a sale is completed: phone numbers, email addresses, social media and messaging IDs, external web addresses, payment details.
- **Offers outside eBay.** No invitation to buy elsewhere, no mention of or link to the same or related items on another site, no catalogs for ordering directly.
- **Content that is not about the item.** Everything in a listing must relate directly to the item or to your terms.
- **Another language.** The description must be in the primary language of the eBay site you list on.
- **A different condition.** The condition must be consistent in the title, the description and the item specifics.
- **Special characters as decoration.** The item description policy asks for words where a symbol would stand in for one.

Rules for titles and keywords are part of our guide to [eBay SEO](https://central.to/guides/ebay-seo), which this page does not repeat.

## What belongs in item specifics, not only in the description

eBay's listing help describes item specifics as brand, size, material and other structured details that help buyers find a listing and compare it with others. The description is free text. A fact that exists only in the description cannot do that work.

| Fact about the stove | Item specifics | Description |
| --- | --- | --- |
| Brand, model, MPN, GTIN | Yes, in their own fields | Mention the model once |
| Type, fuel, number of burners, color | Yes | In the facts table, with the same values |
| Weight and dimensions | Yes, where the category offers them | In the facts table |
| Condition | The condition field | The same wording, plus details of any wear |
| What is in the box | No field in most categories | Yes: a list |
| Care, safety notes, compatibility in sentences | No | Yes |

The item description policy requires item specifics to be accurate and complete, each value in its own field. A required identifier may not be set to "Does not apply" when the manufacturer has provided one. Which item specifics a category requires, and how search filters use them, is explained in the eBay SEO guide.

## The template

A description for the fictional Northpeak Blaze 1 camping stove. It has a marked summary, headings, a facts table, a list of what is in the box and care notes. It contains no scripts, no forms, no frames, no links and no external files.

```
<div vocab="https://schema.org/" typeof="Product" style="max-width: 700px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; color: #222222;">
  <span property="description">Northpeak Blaze 1 camping stove, new in original packaging. Single burner with 2,800 W for screw-on gas canisters (EN 417). Weight 380 g, packed size 12 x 9 x 8 cm, piezo ignition. In the box: stove, carry case and manual. Gas canister not included. For outdoor use only.</span>
</div>

<div style="max-width: 700px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; color: #222222;">

  <h2 style="font-size: 1.3em; margin: 1.2em 0 0.4em;">Facts</h2>
  <table style="width: 100%; border-collapse: collapse;">
    <tbody>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Model</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">Northpeak Blaze 1 (NP-BLZ1)</td>
      </tr>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Output</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">2,800 W</td>
      </tr>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Fuel</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">Screw-on gas canister, EN 417 (not included)</td>
      </tr>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Ignition</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">Piezo</td>
      </tr>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Weight</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">380 g</td>
      </tr>
      <tr>
        <th style="width: 40%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #dddddd;">Packed size</th>
        <td style="padding: 6px 8px; border-bottom: 1px solid #dddddd;">12 x 9 x 8 cm</td>
      </tr>
    </tbody>
  </table>

  <h2 style="font-size: 1.3em; margin: 1.2em 0 0.4em;">What is in the box</h2>
  <ul>
    <li>Northpeak Blaze 1 stove</li>
    <li>Carry case</li>
    <li>Printed manual in English</li>
  </ul>

  <h2 style="font-size: 1.3em; margin: 1.2em 0 0.4em;">Care and safety</h2>
  <ul>
    <li>Use outdoors only, on a level surface.</li>
    <li>Let the stove cool down before you pack it.</li>
    <li>Wipe the burner with a dry cloth; do not use a dishwasher.</li>
    <li>Check the seal at the canister connection before each use.</li>
    <li>Store dry, with the canister removed.</li>
  </ul>

  <h2 style="font-size: 1.3em; margin: 1.2em 0 0.4em;">Shipping and returns</h2>
  <p>Shipping costs, delivery time and the return policy are shown in the shipping and returns sections of this listing.</p>

</div>
```

How to adapt it:

1. **Rewrite the summary first.** Item, condition, the main facts, what is included. This one has 271 characters and no tags inside the span. A list is allowed there, but a strict HTML check flags a list inside a span tag, so the template uses sentences.
2. **Keep the summary visible.** It doubles as the opening paragraph on desktop, so the template has no second introduction. If you write a separate introduction, hide the summary on desktop with `display:none`.
3. **Fill the table from your item specifics.** The values must be the same in both places.
4. **Change the lists, keep the structure.** One fact per line.
5. **Leave shipping and returns to the listing.** Those sections of the listing stay current when your terms change; a copy in the description does not.
6. **Add nothing that loads from elsewhere.** No stylesheet, no font, no tracking pixel.

The text itself should come from the product's facts. Our guide on [how to write product descriptions](https://central.to/guides/how-to-write-product-descriptions) shows the method, [product description examples](https://central.to/guides/product-description-examples) gives more patterns, and the [product description writer](https://central.to/tools/product-description-writer) drafts a description only from the facts you paste.

## Checklist

1. No `script` tags, no event attributes, no forms, no Flash or other plug-ins.
2. No links to sites other than eBay, and no web address in plain text.
3. No phone number, email address or social media name.
4. Every image, video or other external file is loaded over HTTPS.
5. Widths are relative; no image or fixed object is wider than 700 pixels.
6. A summary of at most 800 characters is marked with the div and span tags.
7. Inside the summary: only text, lists, line breaks and non-breaking spaces.
8. The description is in the language of the eBay site.
9. Condition, brand, model and measurements match the item specifics and the title.
10. The whole description, tags included, stays under 500,000 characters.
11. The listing saves without the error "Disallowed JavaScript/HTML Syntax".

Accounts, fees and product safety data are covered in [selling on eBay](https://central.to/marketplaces/ebay), picture rules in our [product image requirements](https://central.to/compare/product-image-requirements), titles for eBay and other channels in [product title optimization](https://central.to/guides/product-title-optimization), and what other marketplaces accept in a description in our [comparison of online marketplaces](https://central.to/compare/online-marketplaces).

**What Central does with eBay today**

| | |
| --- | --- |
| Publishes listings | Yes |
| Reports status per product | Yes |

From Central's own integration table, which changes with the product.

## Where Central helps

Central researches the facts a description is built from, such as measurements, materials, what is included and care instructions, in your own data, on the open web and in verified databases, and backs every value with sources you can check. It writes titles, descriptions and attributes within each channel's limits from that record and holds back what the sources do not support. When a fact behind a text changes, Central flags the text.

## Questions

### Can I use HTML in an eBay description?

Yes. eBay accepts HTML in descriptions, and every tag counts toward the limit of 500,000 characters. Not allowed is active content: JavaScript, Flash, plug-ins and form actions. eBay publishes no list of allowed tags on the pages read for this guide.

### What happens if my eBay template contains JavaScript?

A new listing gets the error Disallowed JavaScript/HTML Syntax and cannot be listed until the active content is removed, or the script is disabled when the page is shown. In existing listings, eBay has removed active content, so buyers no longer see it and the description may not look as intended.

### How do I control what eBay shows on phones?

Put a summary of up to 800 characters inside a span tag with property set to description, wrapped in a div tag with vocab set to https://schema.org/ and typeof set to Product. Inside the span, only lists, line breaks and non-breaking spaces are allowed as formatting.

### Can I link to my own website in an eBay description?

No. eBay's links policy does not allow links to sites other than eBay, even if the link is not clickable. Allowed are links to other eBay pages, product videos, freight shipping services approved by eBay and legally required information, all over HTTPS.

### Can I put my phone number or email address in an eBay description?

No. eBay's policy on offers outside of eBay does not allow sharing or requesting direct contact information before a sale is completed. That covers phone numbers, email addresses, social media and messaging IDs and external web addresses.

## Sources

1. [JavaScript policy](https://www.ebay.com/help/policies/listing-policies/javascript-policy?id=4247), checked 2026-11-24
2. [Links policy](https://www.ebay.com/help/policies/listing-policies/links-policy?id=4248), checked 2026-11-24
3. [HTML formatting (Trading API User Guide)](https://developer.ebay.com/api-docs/user-guides/static/trading-user-guide/formatting.html), checked 2026-11-24
4. [Mobile device optimization (Trading API User Guide)](https://developer.ebay.com/api-docs/user-guides/static/trading-user-guide/mobile.html), checked 2026-11-23
5. [Item description policy](https://www.ebay.com/help/policies/listing-policies/item-description-policy?id=4372), checked 2026-11-24
6. [Offering to buy or sell outside of eBay policy](https://www.ebay.com/help/policies/payment-policies/offers-buy-sell-outside-ebay-policy?id=4272), checked 2026-11-23
7. [Inventory API specification](https://developer.ebay.com/develop/api/spec/inventory_api.json), checked 2026-11-23
8. [Creating a listing](https://www.ebay.com/help/selling/listings/creating-listing?id=4105), checked 2026-11-23
9. [Ein Angebot erstellen](https://www.ebay.de/help/selling/listings/ein-angebot-erstellen?id=4105), checked 2026-11-23

## More on this topic: Marketplace listings

- [Amazon vs eBay vs Etsy and more: online marketplaces compared](https://central.to/compare/online-marketplaces.md)
- [Amazon A+ Content: who can use it, modules, image sizes and rules](https://central.to/guides/amazon-a-plus-content.md)
- [Amazon backend keywords: the search terms field and its byte limit](https://central.to/guides/amazon-backend-keywords.md)
- [Amazon listing optimization: title, item highlights, bullets and images](https://central.to/guides/amazon-listing-optimization.md)
- [eBay SEO: titles, item specifics and descriptions that Best Match can read](https://central.to/guides/ebay-seo.md)
- [Etsy SEO: how Etsy search ranks listings and what to fill in](https://central.to/guides/etsy-seo.md)
- [Etsy tags: how to use all 13, with examples](https://central.to/guides/etsy-tags.md)
- [How to sell on Allegro: requirements, fees and listing data](https://central.to/marketplaces/allegro.md)
- [How to sell on Amazon: requirements, fees and listing data](https://central.to/marketplaces/amazon.md)
- [How to sell on eBay: requirements, fees and listing data](https://central.to/marketplaces/ebay.md)
- [How to sell on Etsy: requirements, fees and listing data](https://central.to/marketplaces/etsy.md)
- [How to sell on Zalando: requirements, fees and listing data](https://central.to/marketplaces/zalando.md)
- [Kaufland Marketplace: how to sell, fees and listing data](https://central.to/marketplaces/kaufland.md)
- [Product title optimization: limits and formulas for Google, Amazon, eBay, Etsy](https://central.to/guides/product-title-optimization.md)
- [Sell on OTTO Market: requirements, fees and product data](https://central.to/marketplaces/otto-market.md)
- [Walmart Marketplace: how to sell on Walmart, fees and item data](https://central.to/marketplaces/walmart.md)
- [Product title builder](https://central.to/tools/product-title-builder.md) (Free tool)
- [eBay description cleaner](https://central.to/tools/ebay-description-cleaner.md) (Free tool)
- [Etsy title and tag checker](https://central.to/tools/etsy-tag-checker.md) (Free tool)
- [Product image checker](https://central.to/tools/product-image-checker.md) (Free tool)
- [Variant matrix builder](https://central.to/tools/variant-matrix-builder.md) (Free tool)

## Try Central on your own products

Central is the AI-first product content operating system: you choose the input (your shop, files or product pages) and the channels; Central AI researches, verifies and writes the product data and content in between, every value backed by sources you can check. The first 3 products are free. To start with a shop, open https://central.to/users/sign_up?onboarding_url=SHOP_ADDRESS (replace SHOP_ADDRESS with the shop's website address).
