Convert TXT to ASCIIDOC

Turn TXT files into ASCIIDOC. Blank lines separate paragraphs and every line break and leading indentation is kept.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Plain text as an AsciiDoc file.Paragraphs and line breaks carry over, and AsciiDoc shows the text as written.

  1. What you get

    One AsciiDoc file from your TXT file. Blank lines in the text separate paragraphs, and every line break is kept.

    Each line is written in ++ passthroughs. AsciiDoc then shows the line as written, without formatting, attribute references, replacements or block syntax.

  2. What changes

    Leading indentation is kept. Inside a line, a run of spaces or tabs becomes one space.

    Plus signs and trailing backslashes are written as attribute references.

TXT and ASCIIDOC.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 · ASCIIDOC

AsciiDoc

AsciiDoc, the markup of many software manuals.

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

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

terminal
$ cv convert report.txt report.adoc
$ cv convert report.txt report.adoc

Questions.What people ask about TXT to ASCIIDOC.

01OF 04

Yes. Every line break is kept, and blank lines separate paragraphs.

No. Each line is written in ++ passthroughs, so AsciiDoc shows it without formatting, attribute references, replacements or block syntax.

Inside a line, a run of spaces and tabs becomes one space. Leading indentation is kept.

Plus signs are written as attribute references. The same goes for trailing backslashes.

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