Sample RSS 2.0 feed
A valid RSS 2.0 feed with a channel and five items, each with a title, link, GUID, publication date and description.
Download
sample-rss-feed.xml
2.39 KB2,451 bytes
Download XML sampleDirect download. No sign-up and no waiting.
- Type
- application/xml
- SHA-256
c20e2c6493e57b07dd6a246877f73b415d3978e0d7d5e72d2c0436493850245d- Direct URL
https://sampletestfiles.com/downloads/samples/sample-rss-feed.xml
Why test with this file
For testing feed readers, aggregators and XML-to-JSON conversion.
| Items | 5 |
|---|---|
| Version | RSS 2.0 |
| Date format | RFC 822 |
| Encoding | UTF-8 |
What to check
After your application has processed sample-rss-feed.xml, confirm that:
- Five items are found, each with a title, link and date.
- Publication dates in RFC 822 form are parsed into real dates.
- Each GUID is treated as the item's stable identifier.
How the file begins
The opening lines of sample-rss-feed.xml, exactly as they appear in the file.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Sample Feed</title>
<link>https://example.com/</link>
<description>A sample RSS feed for testing feed readers.</description>
<language>en</language>
<lastBuildDate>Thu, 01 Jan 2026 09:00:00 GMT</lastBuildDate>
<item>
<title>Sample post number 1</title>
<link>https://example.com/posts/1</link>
<guid isPermaLink="true">https://example.com/posts/1</guid>
<pubDate>Thu, 01 Jan 2026 01:00:00 GMT</pubDate>
<description>Use it to check that uploads, downloads and parsers behave the way you expect. Character encoding problems usually appear at the ed…Preview
Shows the file contents.
Technical details
| File name | sample-rss-feed.xml |
|---|---|
| Format | XML (Extensible Markup Language) |
| Extension | .xml |
| MIME type | application/xml |
| Size | 2,451 bytes (2.39 KB) |
| Kind | Text |
| Signature | 3C 3F 78 6D 6C |
| SHA-256 | c20e2c6493e57b07dd6a246877f73b415d3978e0d7d5e72d2c0436493850245d |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Data |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-rss-feed.xml 'https://sampletestfiles.com/downloads/samples/sample-rss-feed.xml'
sha256sum sample-rss-feed.xml # Linux
shasum -a 256 sample-rss-feed.xml # macOSOn Windows, run Get-FileHash sample-rss-feed.xml -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
About XML
Structured, self-describing documents built from nested elements and attributes.
Where it fits
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
- Web development
Placeholder images, media, data and documents for building and demonstrating web interfaces.