Skip to content

BrAtUkA/pdf-dark-mode-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Dark Mode Converter

PDF Dark Mode Converter

Use it now →

Convert any PDF to dark mode instantly in your browser. No uploads, no server, no sign-up - fully offline and private.

Features

  • Up to 10x faster conversion using GPU-accelerated color transforms and concurrent page processing
  • 16+ themes - Classic, Slate, Claude Warm, ChatGPT Cool, Sepia, Midnight Blue, Forest Green, Solarized, Nord, Dracula, Gruvbox, Monokai, Tokyo Night, Rosé Pine, Cobalt, plus a custom color picker
  • Selectable text - converted PDFs keep an invisible text layer so you can search, select, and copy
  • Image preservation - detects photos and graphics and keeps their original colors
  • Batch conversion - drop multiple PDFs at once
  • Dark and light output - convert light-to-dark or dark-to-light
  • Adjustable resolution (0.5x-4x) and JPEG quality (50-100%)
  • Invert PDF Colors - separate tool at /invert-pdf-colors/ for true RGB complement inversion
  • 100% private - everything runs client-side, nothing is uploaded

Languages

Available in 10 languages: English, Spanish, French, German, Italian, Portuguese, Chinese, Korean, Japanese, and Russian.

How to Use

  1. Open the PDF Dark Mode Converter.
  2. Click Choose PDF Files or drag and drop one or more PDFs onto the page.
  3. Pick a theme from the dropdown, or use the custom color picker.
  4. Optionally adjust resolution, quality, and toggle selectable text or image preservation in Settings.
  5. The converted PDF downloads automatically when done.

Blog

14 guides covering dark mode on every platform:

Technical Details

  • Uses pdf.js for rendering and pdf-lib for PDF assembly
  • GPU-accelerated via SVG feColorMatrix filter with automatic fallback for browsers that don't support canvas filters (e.g. Firefox)
  • JPEG encoding for fast page processing
  • Static site on GitHub Pages - no server-side code

License

This project is licensed under the PolyForm Noncommercial License 1.0.0 - free for personal use, commercial use is not permitted.

Project Originally created by Chizkiyahu · Made up to 10x faster and massively improved by BrAtUkA


BrAtUkA

About

Fast Client-side PDF Dark Mode Converter - Instantly apply dark mode to PDFs in your browser, Preserve images, keep text searchable and selectable. No uploads, 100% private. 🚀

Topics

Resources

License

Stars

Watchers

Forks