The working example podcast RSS feed from this guide, with the enclosure line, which points to the episode's MP3 file, marked in red.

How to Make a Podcast RSS Feed by Hand (Working XML Example)

Last updated: November 2026

This post contains affiliate links, and we may earn a commission if you sign up through them, at no cost to you. See our Affiliate Disclosure. Apple’s feed guide and requirements pages and the RSS Advisory Board specification were read, and the W3C Feed Validation Service was run, on October 20, 2026.

A podcast RSS feed is one XML file. A minimal valid one needs the nine tags Apple requires, the channel link that RSS 2.0 requires, and real audio at a public web address. The example below passed the W3C Feed Validation Service. Most shows should still let a host write the file.

Key takeaways

  • Apple requires six show-level tags (title, description, itunes:image, language, itunes:category, and itunes:explicit) and three episode-level tags (title, enclosure, and guid).
  • RSS 2.0 requires a channel link, Apple lists it only as recommended, and the W3C Feed Validation Service rejected our sample feed with the message “Missing channel element: link” when we removed it.
  • The enclosure length is the audio file’s size in bytes, so our ten-minute 96 kbps MP3 is length=”7200750″ and not 7.2.
  • The W3C Feed Validation Service returned “This is a valid RSS feed” for our sample on October 20, 2026, with one recommendation about the self reference that any pasted feed receives.
  • A date written as 10/20/2026 9:00 AM, a title written with an HTML entity for a curly apostrophe, and an enclosure with no length each made the same validator reject the feed and name the line.
  • Apple’s requirements also call for a publicly addressable feed, a hosting server that answers HTTP HEAD and byte-range requests, and a GUID that never changes.

What does a podcast RSS feed need to work?

Five things, all from Apple’s feed requirements and its Podcaster’s Guide to RSS. The file must follow RSS 2.0 and declare the iTunes namespace. It needs the required show and episode tags. Each episode needs a unique enclosure pointing at a real audio file and a GUID that never changes. And the feed must be public, with an audio server that answers HEAD and byte-range requests.

If any of that sounds unfamiliar, start with what a podcast RSS feed is and how it works and the shorter tag-by-tag format guide. This page is the hands-on version: build the file, then check it.

Three-column list of Apple's podcast feed tags. Required: show title, description, itunes:image, language, itunes:category, itunes:explicit, and episode title, enclosure, guid. Recommended: itunes:author, link, pubDate, description, itunes:duration, itunes:image, itunes:explicit. Situational: itunes:type, season, episode, episodeType, new-feed-url, block, complete, copyright.

What does a working podcast RSS feed look like?

This is the whole file. It has one show and one episode, and it uses example.com, which the IANA keeps for documentation, so swap in your own addresses. The MP3 it describes is a real ten-minute file at 96 kbps mono, and the length is that file’s size in bytes.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Example Podcast</title>
    <link>https://example.com/podcast/</link>
    <description>A sample show used to test a hand-built podcast feed.</description>
    <language>en-us</language>
    <itunes:author>Example Media</itunes:author>
    <itunes:explicit>false</itunes:explicit>
    <itunes:image href="https://example.com/podcast/cover.jpg"/>
    <itunes:category text="Technology"/>
    <atom:link href="https://example.com/podcast/feed.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>Hello and welcome</title>
      <description>The first episode of the sample show.</description>
      <link>https://example.com/podcast/episodes/1/</link>
      <enclosure url="https://example.com/podcast/audio/episode-001.mp3" length="7200750" type="audio/mpeg"/>
      <guid isPermaLink="false">example-podcast-episode-0001</guid>
      <pubDate>Tue, 20 Oct 2026 09:00:00 +0000</pubDate>
      <itunes:duration>600</itunes:duration>
      <itunes:explicit>false</itunes:explicit>
    </item>
  </channel>
</rss>

What do the tags in the example do?

  • The namespaces: The itunes namespace is what lets Apple’s tags exist. Apple’s page also lists the content namespace in its declaration, so we kept it. The atom namespace is there for the self link.
  • title, link, description, language: The RSS Advisory Board’s specification requires the first three at channel level. Apple allows up to 4,000 bytes for the show description and accepts language values from the ISO 639 list.
  • itunes:image: Apple wants a square JPEG or PNG between 1400 by 1400 and 3000 by 3000 pixels, in RGB with no alpha channel. We checked a 3,000 by 3,000 JPEG against that rule. The file has to sit at the address in the href.
  • itunes:category: The category must be on Apple’s list and spelled with its exact capitalization. Apple’s own example shows “Kids & Family” as right and “Kids & family” as wrong.
  • enclosure: Three attributes, all required: url, length in bytes, and type. For an MP3 the type is audio/mpeg. The RSS specification describes length as how big the file is in bytes.
  • guid: A string that identifies the episode and never changes, even if the title or the audio address does. With isPermaLink set to false, a reader treats it as an ID and not as a web address.
  • pubDate: Apple asks for RFC 2822: a day of the week, a 24-hour time, and a zone offset. The form in the example satisfies RFC 822 as well, which is what the W3C validator checks.
  • itunes:duration: Apple accepts several formats and recommends seconds. Ten minutes is 600.

Where does the enclosure length come from?

From the file itself, as a whole number of bytes. Apple’s guide says to read it from the file’s properties. On Windows you can get it from PowerShell:

(Get-Item .\episode-001.mp3).Length

For our ten-minute sample that prints 7200750, which is the number in the feed. Use it as it prints. A size shown as 6.87 MB in a file manager is not a byte count. If you re-export the MP3, the length changes with it, so read it again.

How do you validate a podcast RSS feed?

We ran the sample through the W3C Feed Validation Service by pasting it into the direct input box. It answered “Congratulations! This is a valid RSS feed” and added one recommendation, that the self reference does not match the document location. That message is expected for a pasted feed, because the file has no address of its own to match. On a real feed the self link would hold the feed’s own URL.

W3C Feed Validation Service result page for the sample podcast feed showing Congratulations, This is a valid RSS feed, and one recommendation that the self reference does not match the document location.

The W3C service checks RSS syntax and the iTunes tags it knows, including the list of categories. It does not fetch your audio or your artwork. For the rules on Apple’s pages we also wrote a short script and ran 28 checks on the sample: the namespaces, every required tag, the enclosure length against the real file, the date format, ASCII-only addresses, and the artwork’s size, format, and color space. It passed all 28. The script is our own, not Apple’s.

Apple’s validation page names two outside tools for more detail, Cast Feed Validator and the Podbase Podcast Validator. Both take a feed URL and test what a paste cannot, such as HEAD requests, byte-range support, and the artwork over the web. Our sample points at example.com, which has no audio behind it, so it cannot be tested that way as written. Run both on your real feed. Apple also says that passing validation does not guarantee approval, since the content guidelines are a separate review.

We ran both on a copy of the sample hosted on this site. The first attempt taught us a rule: WordPress would not accept an .xml upload, so the feed went up as a .txt file, and Cast Feed Validator stopped at its first step with a fatal error, “Your feed is returning a Content-Type that isn’t recognized as RSS.” A feed has to be served with an XML content type, which a podcast host does for you and a plain file upload may not. Uploaded again as a real .xml file through the web host’s file manager on October 21, 2026, the same feed passed every Cast Feed Validator group: feed download, XML parsing, RSS tags, Apple Podcasts, Podcasting 2.0, server, caching, SSL, artwork, and media. Its one notice said the episode link and the show link were the same page, which is true of a one-episode test feed.

Podbase ran the same day, in a normal browser because its human check refuses automated ones. Every Basics, Sharing and SEO, and Apple Podcasts check came back green: the feed fetched in under 500 milliseconds, the XML was well formed, the RSS was valid, the certificate was valid, the 2560 by 2560 cover art passed, the server answered HEAD and byte-range requests, and the one iTunes category, Technology, was accepted. Its Podcast Standards Project section marked one item red, the missing podcast namespace, and two amber, the recommended podcast:locked, podcast:guid, itunes:image, and podcast:transcript elements. Apple requires none of those. They belong to the newer Podcasting 2.0 standard, and a minimal Apple-valid feed can leave them out.

Podbase Podcast Validator results for the hand-built test feed: every Basics, Sharing and SEO, and Apple Podcasts check green, and in the Podcast Standards Project section a red mark for the missing podcast namespace and amber marks for the recommended podcast:locked, podcast:guid, itunes:image and podcast:transcript elements.

What does a validator say when the feed is wrong?

We broke the working feed one way at a time and ran each version through the same W3C service. These are its exact messages, and each one points to a line.

What we changedWhat the W3C validator saidThe fix
pubDate written as 10/20/2026 9:00 AMpubDate must be an RFC-822 date-time: 10/20/2026 9:00 AMUse the form Tue, 20 Oct 2026 09:00:00 +0000
A title containing the entity &rsquo;XML parsing error: undefined entityType the apostrophe directly, or use a numeric entity such as &#8217;
The length attribute removed from the enclosureMissing enclosure attribute: lengthAdd the file size in bytes
The channel link removedMissing channel element: linkAdd the show’s website address
The category written as technologytechnology is not one of the predefined iTunes categories or sub-categoriesMatch Apple’s capitalization exactly, as in Technology
A title reading Tips & TricksXML parsing error: not well-formed (invalid token)Write the ampersand as &amp;

Apple’s page lists the same family of mistakes: use &apos; and &quot; and avoid HTML entities such as &rsquo;, escape ampersands, and match the category list’s capitalization. One bad entity in one title makes the file malformed XML, which is the best reason to validate every time you edit. If a directory has already turned your feed down, podcast feed rejected by Apple walks through the checklist.

How do you host and submit a hand-made feed?

Put three things on a public web server that answers HTTP HEAD and byte-range requests: the feed, the cover art, and each MP3. Use the real addresses in the file, use plain ASCII characters in them, and make the self link point at the feed’s own address. Then submit the feed URL once, in Apple Podcasts Connect and in each other directory, as our submission walkthrough shows. Apps poll the file from then on.

Every new episode means editing the file by hand. You upload the MP3, read its byte size, write a new item with a new GUID at the top, validate, and upload the file again. Skip a step and the episode can fail to appear or to play.

Should you make your own podcast RSS feed?

For learning, testing, or a tiny private show, yes. It is the best way to see what the feed contains, and the file in this post is a fine starting point. For a public show you want to grow, no. A host writes the file for you, keeps your GUIDs fixed, serves audio with the right headers, and gives you download stats. None of that comes with a text file on a web server.

The downside of a host is the monthly bill. Our cheapest podcast hosting list ranks the free and low-cost options, with the catch on each. How to choose a podcast host is the longer route. If you are moving an existing feed, where to find your podcast RSS feed URL is the first step.

FAQ

How do I create an RSS feed for my podcast?

Write the XML above with your own show details, host the feed and the audio at public addresses, check the file with a validator, and submit the feed URL to each directory. Or sign up for a podcast host, which writes and updates the file for you.

How do I make an RSS feed for my podcast without a host?

Host the XML, the cover art, and the MP3 files on any web server that is publicly reachable and answers HEAD and byte-range requests. Apple’s requirements say a feed can be self-generated and hosted. You maintain every tag yourself.

What tags are required in a podcast RSS feed?

For Apple Podcasts, six at show level: title, description, itunes:image, language, itunes:category, and itunes:explicit. Three per episode: title, enclosure, and guid. Add the channel link too, because RSS 2.0 requires it.

Do I need a GUID for each podcast episode?

Yes. Apple requires a globally unique identifier for every episode and says it must never change, even when the title or audio address does. See what a GUID is in a podcast feed.

Can I convert an RSS feed to a podcast?

A blog’s RSS feed becomes a podcast feed when each item carries an enclosure with a real audio file’s address, length, and type, and the channel carries the iTunes tags Apple requires. Without the enclosure, an app has nothing to play.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *