Skip to content

Library Guides

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.

By CentralUpdated 24 November 202612 min read9 sources, checked 24 November 2026
On this page
  1. What eBay allows and blocks at a glance
  2. The active content rule
  3. The HTML and CSS that remain usable
  4. The short summary on phones
  5. Links: what is allowed
  6. What must not be in a description
  7. What belongs in item specifics, not only in the description
  8. The template
  9. Checklist
  10. Where Central helps

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.
eBay description cleanerFree tool

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:

TopiceBay's ruleSource
HTMLAllowed. All tags count toward the character limitHTML formatting
Active contentNot allowed: JavaScript, Flash, plug-ins and form actions. Removed from existing listings, blocked in new onesJavaScript policy
SizesRelative widths and heights. Images and other fixed-size objects at most 700 pixels wideHTML formatting
External contentOnly externally hosted images, product videos, freight shipping services and legally required information, all over HTTPSHTML formatting
LinksNo links to sites other than eBay, even if they are not clickableLinks policy
Contact detailsNo phone numbers, email addresses, social media IDs or web addresses before a sale is completedOffers outside of eBay policy
Mobile summaryUp to 800 characters inside a marked span tagMobile device optimization
LengthUp to 500,000 characters, HTML tags includedInventory API
ContentAccurate, directly related to the item or your terms, in the primary language of the eBay siteItem description policy

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:

CaseWhat happens
New listing with active contentError "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 listingeBay has removed active content from all existing listings. Buyers no longer see it, and the description may not appear as intended
Breaking the policyeBay 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 templateWhy eBay blocks itWhat to do
Script tags and event attributes such as onclickJavaScriptRemove
Search box, newsletter sign-up, contact formForm actionsRemove; buyers reach you through eBay Messages
Flash banners, embedded objectsFlash and plug-insRemove
Tabs, accordions and image sliders driven by scriptsJavaScriptShow the sections one after the other under headings; put pictures in the listing's photo gallery
Social sharing icons, currency converters, feedback widgetsNamed by eBay as examples of active contentRemove

The 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 blockIn the templateNote
Headingsh2, h3The listing title is the page's main heading; start below it
Textp, strongFull sentences, correct spelling
Listsul, liLists are also allowed inside the mobile summary
Facts tabletable, tr, th, tdWidth in percent, not in pixels
Stylingstyle attributes on the elementseBay's own guide uses a style attribute in its example
PicturesNot in the templateUse 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:

RuleWhat eBay states
LengthUp to 800 characters; HTML tags count. Text beyond the limit is dropped
Formatting allowedOrdered and unordered lists, line breaks, non-breaking spaces
How formatting countsEach 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 desktopThe summary is visible in the full description by default. Adding style="display:none" to the div tag hides it there
When it is not neededIf the whole description has fewer than 800 characters
Where it worksUS, 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 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.

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 descriptionNot allowed
Links to other eBay pages, such as your other items or your StoreLinks 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 DailyMotionLinks to pages outside eBay that ask for personal or payment details
Freight shipping services approved by eBayLinks to unsecured sites
Legally required informationA 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, 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 stoveItem specificsDescription
Brand, model, MPN, GTINYes, in their own fieldsMention the model once
Type, fuel, number of burners, colorYesIn the facts table, with the same values
Weight and dimensionsYes, where the category offers themIn the facts table
ConditionThe condition fieldThe same wording, plus details of any wear
What is in the boxNo field in most categoriesYes: a list
Care, safety notes, compatibility in sentencesNoYes

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 shows the method, product description examples gives more patterns, and the 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, picture rules in our product image requirements, titles for eBay and other channels in product title optimization, and what other marketplaces accept in a description in our comparison of online marketplaces.

What Central does with eBay today
Publishes listingsYes
Reports status per productYes

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.

See it on your own products

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 policyeBay Helpchecked 24 November 2026
  2. Links policyeBay Helpchecked 24 November 2026
  3. HTML formatting (Trading API User Guide)eBay Developers Programchecked 24 November 2026
  4. Mobile device optimization (Trading API User Guide)eBay Developers Programchecked 23 November 2026
  5. Item description policyeBay Helpchecked 24 November 2026
  6. Offering to buy or sell outside of eBay policyeBay Helpchecked 23 November 2026
  7. Inventory API specificationeBay Developers Programchecked 23 November 2026
  8. Creating a listingeBay Helpchecked 23 November 2026
  9. Ein Angebot erstelleneBay Help (Germany)checked 23 November 2026

More on this topic

Marketplace listings

You choose what goes in and where it goes out.

Central AI does everything in between. Your first 3 products are free.

  1. Your inputYour shop, your files or your product pages.
  2. Central AIResearches, verifies and writes everything in between. Every value is backed by sources you can check; what the sources do not support is held back.
  3. Your channelsProduct data and listings for the channels you choose.