What is the OPML file format?
.opml is a text file saved in XML format. .opml files store RSS channel information used by RSS readers and aggregators. RSS technology allows users to access news feeds and information about updated or new website content using a single application.
Developed by Dave Winer at UserLand Software and introduced in 2000, OPML became the de facto standard for exporting and importing feed subscription lists between applications such as Feedly and NetNewsWire. Many different OPML versions exist. The most widely used is OPML 2.0; some feeds still use the earlier 1.0 release. An .opml file consists of the following elements:
- version tag,
<head>section - contains file metadata such as title and creation date,<body>section - contains the content of the outline,<outline>elements - carry attributes such astext,type,xmlUrlandhtmlUrl.
Security & safety
RISK: LOWOPML is plain text XML with no executable code, so the file itself is harmless to open. The only caution is that a feed-subscription OPML reveals which sites/feeds you follow (a privacy detail if shared), and that imported feed URLs point to external content - importing a list from an untrusted source just adds those feeds, it doesn't run anything.
Format details
in a nutshellPrograms that open OPML files
Technical details
deep spec| File encoding | UTF-8 plain-text XML; no binary magic bytes - files start with `<?xml` and are identified by the `<opml version=` root element |
| MIME type | `text/x-opml`; recognised alternatives include `text/x-opml+xml` and `text/xml` |
| Root element | `<opml>` with a required `version` attribute set to `"1.0"` or `"2.0"` |
| Top-level structure | Two mandatory children of `<opml>`: `<head>` (metadata block) and `<body>` (outline content) |
| Outline hierarchy | Content is built from `<outline>` elements that nest arbitrarily deep to represent multi-level trees |
| Feed subscription attributes | For RSS/Atom feeds each `<outline>` uses `type="rss"`, `text` (label), `xmlUrl` (feed endpoint), `htmlUrl` (website) |
| OPML versions | 1.0 (year 2000) and 2.0 (2007); version declared in the `version` attribute on `<opml>`; 1.1 was an unpublished draft |
| Head metadata fields | Optional fields: `title`, `dateCreated`, `dateModified`, `ownerName`, `ownerEmail`, `expansionState`, `vertScrollState` |
| Compression | None - file is stored as uncompressed plain XML text |
| Typical file size | 1 KB - 500 KB; a typical export of several hundred feed subscriptions is 10-50 KB |
| Primary use | Portable interchange of RSS/Atom feed subscription lists between feed readers and aggregators |
| Secondary use | General-purpose hierarchical outline format for mind-mapping, note-taking and document outlining tools |
| Platform support | Cross-platform: Windows, macOS, Linux, iOS, Android and browser-based web applications |
| Released | 2000 (OPML 1.0); OPML 2.0 in 2007 |
| Latest version | OPML 2.0 (2007) |
| Open standard | Yes · royalty-free |
| Specification | opml.org |
OPML conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about OPML files.