Convert FB2 to TXT

Turn FB2 books into TXT. Plain text with the title and author first and one line per paragraph.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An FB2 book as plain text.The title and author come first, then one line per paragraph.

  1. What you get

    One TXT file with the title and author at the top. The book follows, with one line for each paragraph.

    The text has no formatting. Any program that opens plain text can read it.

  2. How the parts are written

    Tables become aligned columns, so rows and columns still line up in plain text.

    Notes stay where the book places them. Images become their descriptions, so the text says what the picture showed instead of the picture itself.

  3. When it fails

    A file that cannot be parsed stops the conversion with input_corrupted. This means the FB2 file is not readable as a FictionBook document.

    To work with the result further, merge TXT joins several text files into one.

FB2 and TXT.What each format is.

The formats

From · FB2

FictionBook

FictionBook, an XML e-book format popular in Russia.

Extensions
.fb2
MIME type
application/x-fictionbook+xml
Kind
Ebooks
To · 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

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

terminal
$ cv convert report.fb2 report.txt
$ cv convert report.fb2 report.txt

Questions.What people ask about FB2 to TXT.

01OF 04

The title and the author. The paragraphs of the book follow them.

Each image becomes its description. The picture itself is not in the TXT file.

They become aligned columns, so the cells still line up in rows and columns.

The file could not be parsed. The conversion stops there and no TXT file is made.

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