.DJVU

DJVU File

DjVu Document
Ask a question
QUICK ANSWER

A DJVU file is a DjVu Document - a scanned book, journal, or archived paper stored as compressed page images, usually with a searchable text layer. Open it free with SumatraPDF or WinDjView on Windows, Okular on Linux, or MacDjView on macOS. The most common need is converting DJVU to PDF so the file opens on any device; Okular's Print to PDF or the ddjvu command-line tool from DjVuLibre both do that without extra cost.

Developer: AT&T Labs (originally); later LizardTech / Caminova; open tools by DjVuLibre Category: eBook Files Open standard MIME: image/vnd.djvu
OPENS ON Windows macOS Linux Android iOS
Related: .EPUB · .ACSM · .AZW3 · .FB2

On this page

19k+ extensions indexed
Last reviewed Jun 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DJVU file format?

Files with the .djvu extension contain colourful, high-resolution images of scanned pages of a book, magazine, comic book, catalogue, and similar documents. The main advantage of the .djvu format is its high level of compression, with very high resolution and quality of stored images maintained at the same time.

.djvu is based on segmentation of content and uses the structure of the IFF format as its container. Within separate layers it stores background images, foreground images, and sometimes also an OCR text layer, which facilitates fast navigation across the document and enables quickly copying and searching for fragments of text. The .djvu name (from French "déjà vu") characterises the format's ability to render richly detailed scanned pages almost as they appeared in print. It is characterised by a very high level of compression - even 10 times higher than JPEG for typical scanned pages. .djvu encodes both text and image data. The compression is lossy, so while storing a scanned image, some data is permanently lost.

According to many opinions, .djvu is better than the competing PDF format for scanned material, due to a much lower file volume while maintaining similar quality of scanned images. Every .djvu file begins with the 4-byte identifier AT&T at byte offset 0, followed by an IFF FORM chunk; the form type is DJVU for a single-page document or DJVM for a multi-page one. The alternative extension .djv denotes the identical format.

.djvu compression

Compression in .djvu is efficient because the image is divided into multiple separate layers, each compressed independently. Every page image is split into three layers:

  • a background image - usually at a lower resolution, compressed with the IW44 wavelet algorithm
  • a foreground image - also at low resolution, likewise compressed with the IW44 algorithm
  • a mask image - a high-resolution bitonal layer that uses the JB2 compression method, which identifies identical elements on a page (for instance, the shape of a given letter), then compresses and stores only their locations - instead of encoding the same glyph multiple times as a bitmap

Security & safety

RISK: LOW

DjVu is document-image data and is safe to open in a reputable reader. Two cautions: download the reader from the official project page (DjVuLibre on SourceForge, SumatraPDF, WinDjView) rather than ad-laden mirrors like the one in the legacy database; and like any document format DjVu can contain hyperlinks, so treat embedded links with the usual care. The files cannot run macros or code.

Format details

in a nutshell
FULL NAMEDjVu Document
DEVELOPERAT&T Labs (originally); later LizardTech / Caminova; open tools by DjVuLibresince 1996 (AT&T Labs Research)
CATEGORYeBook Files
MIME TYPEimage/vnd.djvu
TYPECompressed scanned-document image container (binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
41542654464F524D
ASCII
AT&TFORM
Files begin with the 4-byte tag "AT&T" (41 54 26 54) at offset 0, then a standard IFF "FORM" chunk; the form type is "DJVU" for a single page or "DJVM" for a multi-page document. The .djv extension is the same format.

Programs that open DJVU files

Windows4 apps
WinDjView Open-source Open the .djvu for a dedicated DjVu reader with continuous scroll, bookmarks, and Export Page to image.
IrfanView Free Install the DjVu plug-in (from IrfanView's plugins pack), then open .djvu to view and convert.
SumatraPDF Open-source Open the .djvu directly - SumatraPDF reads DjVu as well as PDF/EPUB; lightweight and free.
DjVuLibre (DjView) Open-source Use DjView to read; the bundled ddjvu/djvups command-line tools convert to PDF/TIFF/images.
macOS2 apps
MacDjView Open-source A native macOS DjVu reader with continuous scroll; open the .djvu to read.
DjView (DjVuLibre) Open-source Install DjView for macOS (via the DjVuLibre project / Homebrew) to read DjVu documents.
Linux2 apps
KDE Okular Open-source Open the .djvu - Okular reads DjVu natively and can print/export to PDF (File -> Print -> Print to File).
DjView (DjVuLibre) Open-source Read with DjView; convert with ddjvu, e.g. 'ddjvu -format=pdf book.djvu book.pdf'.
Android1 app
VuDroid / DjVu Reader Free Install a DjVu reader app from Google Play, then open the .djvu to read it on Android.
iOS1 app
KyBook / DjVu reader app Freemium Use a DjVu-capable e-book reader app; open the .djvu from Files to read on iPhone/iPad.

Technical details

deep spec
Magic bytes`AT&T` (hex `41 54 26 54`) at byte offset 0, immediately followed by an IFF `FORM` chunk
Container structureIFF (Interchange File Format) chunk-based layout; each chunk has a 4-character type ID and a 32-bit length field
Form type - single-page`DJVU` - the IFF form type used for documents containing exactly one page
Form type - multi-page`DJVM` - the IFF form type used for documents bundling multiple pages into one file
MIME type`image/vnd.djvu`
Background and foreground codecIW44 - a proprietary wavelet-based lossy codec developed at AT&T Labs Research; encodes color at reduced resolution
Mask layer codecJB2 - a symbol-based bitonal compressor derived from JBIG2; stores high-resolution black-and-white shapes and their page positions
Layer architectureThree layers per page: background (color, low-res), foreground (color, low-res), mask (1-bit, high-res)
OCR text layerOptional hidden text stored in `TXTz` or `TXTa` chunks, enabling full-text search and clipboard copying
Compression ratio vs JPEGTypically 5-10× smaller than JPEG at equivalent perceived quality for scanned text-and-image pages
Color depth24-bit RGB for background and foreground layers; 1-bit (bitonal) for the mask layer
Typical scan resolution300-600 DPI; the per-page resolution is stored in the `INFO` chunk
Metadata and navigationBookmarks, hyperlinks, and annotations stored in `NAVM`, `ANNO`, and `BOOKMARKS` IFF chunks
Alternative extension`.djv` - identical binary format, shorter filename variant common on older systems
Released1996 (AT&T Labs Research)
Open standardYes · royalty-free
Specificationdjvu.org

DJVU conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DJVU files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DJVU files.

Frequently asked questions

How do I open a DjVu file?
Use a free reader: SumatraPDF or WinDjView on Windows, Okular or DjView on Linux, MacDjView/DjView on macOS, or a DjVu reader app on phones. Just open the .djvu - no conversion needed to read it.
How do I convert DjVu to PDF?
Open it in Okular, SumatraPDF or WinDjView and 'Print to PDF', or use DjVuLibre's command line: 'ddjvu -format=pdf book.djvu book.pdf'. The PDF keeps the scanned pages and any searchable text layer.
What's the difference between DjVu and PDF?
Both display scanned documents, but DjVu uses layered, scan-optimized compression that makes scanned books much smaller. PDF is far more widely supported, which is why people convert DjVu to PDF for everyday use.
Can I extract or search the text in a DjVu?
Only if it has an OCR text layer. If so, 'djvutxt' (DjVuLibre) extracts it, or the reader's search/copy works. If there's no text layer, the pages are just images and you'd need to run OCR first.
Are .djvu and .djv the same?
Yes - identical format, just two spellings of the extension. You can rename one to the other freely.
Why is a DjVu smaller than the same PDF scan?
DjVu splits each page into a sharp text mask and a low-res background and compresses them separately, which is very efficient for scanned text. A plain PDF scan stores the whole page as one image, so it's bigger.

References

1Library of Congress - DjVu format descriptionwww.loc.gov
2DjVu.org - format resources and specificationdjvu.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.MDMarkdown Document
7.TMPTemporary File
8.BINCD/DVD Disc Image (BIN/CUE)
9.M4AMPEG-4 Audio File
10.JSONJavaScript Object Notation file

Related extensions

.EPUBElectronic Publication
.ACSMAdobe Content Server Message
.AZW3Kindle Format 8 (KF8) e-book
.FB2FictionBook 2.0 eBook
.MOBIMobipocket eBook
.OPFOpen Packaging Format (EPUB package document)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z