Convert DJVU to TXT

Turn DJVU documents into TXT. The hidden text layer, line by line.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The text of a DjVu book, as plain TXT.The hidden text layer comes out line by line in one file.

  1. What you get

    One TXT file with the text layer of the DjVu, line by line. It holds plain text with no formatting at all.

    The text comes from the layer the file already has, so nothing is read from the page pictures unless you ask for it.

  2. Files without a text layer

    A DjVu with no text layer holds pictures of pages, so there is nothing to read and the conversion stops with ocr_required. Set OCR to On to recognize the text in the pages instead.

    A file that cannot be parsed stops with input_corrupted.

  3. Options for scanned pages

    OCR is set to Auto by default. In that mode text is recognized only when Language or Straighten pages is set. Off reads only text the file already has.

    Set Language to the languages in the book, separated by commas, such as en,ko. Naming the right language matters most for Korean, Japanese and Chinese. Set Straighten pages to turn crooked scans straight before reading, which helps OCR.

    Recognition takes longer and can misread blurry text.

DJVU and TXT.What each format is, and the options this conversion takes.

  1. 01 · deskew

    Straighten pages

    Turns pages that were scanned a little crooked back to straight before reading them, which helps OCR.

  2. 02 · language

    Language

    The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.

  3. 03 · ocr

    OCR

    Whether to recognize the text in scanned pages and pictures. Recognition takes longer and can misread blurry text.

    • auto Recognize text only when Language or Straighten pages is set.
    • on Always recognize the text.
    • off Read only text the file already has.
    auto · on · off default auto

The formats

From · DJVU

DjVu

DjVu, the scanned-book format of many digital libraries.

Extensions
.djvu .djv
MIME type
image/vnd.djvu
Kind
Documents
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 DJVU to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert report.djvu report.txt
$ cv convert report.djvu report.txt

Questions.What people ask about DJVU to TXT.

01OF 04

Set OCR to On. The text in the pages is then recognized instead of read from a layer.

The pages are pictures with no text to read. Turn OCR on to recognize the text.

No. By default it runs only when Language or Straighten pages is set. Choose On to always recognize, or Off to read only existing text.

Yes. You can merge TXT files after converting.

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