Convert TXT to MEDIAWIKI

Turn TXT files into MEDIAWIKI. Blank lines separate paragraphs and every line break and leading indentation is kept, with each line break written as <br />.

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 MediaWiki markup.Paragraphs stay paragraphs, and line breaks and indentation are kept.

  1. What you get

    One MediaWiki file that holds your text. Blank lines in the TXT separate paragraphs, so each block of text stays its own paragraph.

    Every line break inside a paragraph is kept and written as <br />. Leading indentation on a line is kept too.

  2. What changes

    Runs of spaces and tabs inside a line become one space. Spacing you used to line up words within a line does not carry over.

    Indentation at the start of a line is not part of this. It stays as it was.

  3. Going back

    To turn MediaWiki markup into plain text again, use MEDIAWIKI to TXT.

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

MediaWiki

MediaWiki markup, the syntax of Wikipedia articles.

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

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

terminal
$ cv convert report.txt report.wiki
$ cv convert report.txt report.wiki

Questions.What people ask about TXT to MEDIAWIKI.

01OF 04

Blank lines separate paragraphs. Each block of text between them becomes a paragraph in the MediaWiki file.

Each one is kept and written as <br />, so the lines stay separate.

Yes. Leading indentation on a line is kept.

Inside a line, a run of spaces or tabs becomes one space.

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