Convert TXT to DJOT
Turn TXT files into DJOT. 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 a Djot file.Paragraphs stay paragraphs, and your line breaks and indentation stay as written.
What you get
One Djot file made from your TXT file. Blank lines in the text separate paragraphs in the result.
Every line break is kept, and so is any indentation at the start of a line.
What changes
Runs of spaces and tabs inside a line become one space. A tab between two words, or several spaces in a row, comes out as a single space.
Spaces and tabs at the start of a line are not part of this. Leading indentation is kept.
TXT and DJOT.What each format is.
The formats
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
Djot
Djot, a lightweight markup language by the author of pandoc.
- Extensions
- .dj .djot
- MIME type
- text
/x -djot - Kind
- Text and data
In your code.The same TXT to DJOT conversion through the API, for your app or your agent.
$ cv convert report.txt report.dj$ cv convert report.txt report.djQuestions.What people ask about TXT to DJOT.
Yes. Every line break in the TXT file is kept in the Djot file.
Blank lines. Each blank line in the text marks a break between paragraphs.
Not inside a line. A run of spaces and tabs between words becomes one space. Leading indentation at the start of a line is kept.
Yes. DJOT to TXT converts it the other way.