Convert TXT to OPML

Turn TXT files into OPML. An OPML outline titled after the file, with one item per non-blank line that holds the line as written, nested by its leading tabs or spaces the way outliners export to plain text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TXT files on the dialor turn it to pick what to do

A text file as an OPML outline.Each line becomes an item, nested by its indentation.

  1. What you get

    One OPML file. The outline is titled after the file. Every non-blank line becomes one item that holds the line as written.

    Items are nested by the leading tabs or spaces on each line, the way outliners export to plain text. A line indented under another line becomes its child.

  2. What changes

    Blank lines are dropped, so no empty items appear in the outline.

    A tab counts as four spaces when the depth is worked out. Lines nested deeper than 64 levels stay at the 64th level.

  3. Going back

    To turn an outline into plain text again, use OPML to TXT. To join several text files before you convert, merge TXT first.

TXT and OPML.What each format is.

The formats

From · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data
To · OPML

OPML Outline

OPML outlines, the exchange format of outliners and feed readers.

Extensions
.opml
MIME type
text/x-opml
Kind
Text and data

In your code.The same TXT to OPML conversion through the API, for your app or your agent.

terminal
$ cv convert report.txt report.opml
$ cv convert report.txt report.opml

Questions.What people ask about TXT to OPML.

01OF 04

It takes its title from the file you convert.

It reads the tabs or spaces at the start of each line. A line with more indentation than the line above sits under it as a child.

No. Blank lines are dropped, and only lines with text become items.

Lines nested deeper than 64 levels stay at the 64th level.

More conversions.Other ways in and out of TXT and OPML.