Posted inApps / Open Source

NightPDF: Open Source Dark Mode PDF Reader and Its Alternatives

NightPDF open source dark mode PDF reader

Modern operating systems usually come with a built-in PDF reader, but a dedicated application can offer additional features and customization options.

If you’re like me and prefer dark interfaces, you probably don’t enjoy staring at bright white PDF pages either.

NightPDF was a simple, free and open source PDF reader built using Electron and PDF.js, with dark mode as its main selling point.

Unfortunately, NightPDF is no longer maintained. However, there are several alternatives worth checking out.

Last updated: November 20, 2026.

What Was NightPDF?

Originally featured here on FSM in June 2020, NightPDF offered a simple solution for reading PDF documents in dark mode.

Unlike applications that only apply a dark theme to their interface, NightPDF also changes the appearance of the document itself.

The application was available for macOS, Windows and Linux and distributed under the GPLv2 license.

NightPDF demonstrating its PDF document dark mode

NightPDF in action, from the original 2020 article.

Is NightPDF Still Available?

On August 14, 2024, the developer released NightPDF 3.0.0 and announced that it would be the final release. The GitHub repository was archived on the same day.

The source code and previously released binaries remain available, but the application will no longer receive bug fixes, security updates or new features from its original developer.

Considering that NightPDF relies on Electron and PDF.js to process documents, I recommend using a maintained PDF reader instead, particularly when opening files from unfamiliar sources.

Open Source NightPDF Alternatives

If you’re looking for a free and open source PDF reader that supports dark document rendering, here are four alternatives.

Okular (Linux and Windows)

Okular is KDE’s universal document viewer. It supports PDF, EPUB, DjVu and several other document formats, along with annotations and highlighting.

To change PDF document colors, navigate to:

Settings > Configure Okular > Accessibility > Change colors

You can invert colors, change the paper color or customize the light and dark colors used to render the document.

SumatraPDF (Windows)

SumatraPDF is a lightweight, open source document reader for Windows.

Recent versions support dark interface themes and document color customization, including a rendering mode that changes text and background colors while preserving embedded images.

Check the official theme documentation for configuration instructions.

Skim (macOS)

Skim is a free and open source PDF reader and annotation tool for macOS.

Originally designed for reading and annotating scientific papers, Skim also supports everyday PDF viewing and provides an option to invert document colors when macOS is using dark mode.

You can find the color inversion option in Skim’s Display settings.

Zathura (Linux)

Zathura is a minimal document viewer designed around keyboard navigation.

With the appropriate PDF plugin installed, you can open PDF documents and toggle document recoloring using Ctrl+R.

Zathura also allows you to customize its colors and keyboard shortcuts through its configuration file.

Dark Mode vs Dark PDF Pages

One thing to keep in mind when choosing a PDF reader is that a dark application theme does not necessarily mean dark document pages.

Some applications only change the color of menus, toolbars and other interface elements while leaving the document itself unchanged.

If you want the same experience NightPDF originally provided, look for document recoloring, color inversion or page background customization.

These features generally change how the document is displayed without modifying the original PDF file. Depending on the rendering method, images and illustrations may also have their colors altered.

NightPDF was an interesting little project, but maintained alternatives are a better choice today.

Support FSMdotCOM on Liberapay