explaingit

apprenticeharper/dedrm_tools

Analysis updated 2026-06-24

15,171PythonAudience · generalComplexity · 2/5Setup · moderate

TLDR

A historical archive of calibre plugins that remove DRM from Amazon, Adobe, Barnes and Noble, and Kobo ebooks. Maintenance moved to the noDRM fork.

Mindmap

mindmap
  root((DeDRM-tools))
    Inputs
      DRM ebook files
      Amazon AZW
      Kobo books
    Outputs
      Unprotected ebook files
      Calibre library entries
    Use Cases
      Backup purchased books
      Convert between formats
      Read on any device
    Tech Stack
      Python
      Calibre plugin
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Remove Amazon Kindle DRM from purchased ebooks so they can be read in other apps.

USE CASE 2

Strip Kobo DRM using the bundled Obok calibre plugin.

USE CASE 3

Convert legacy Adobe Digital Editions ebooks into a calibre library.

USE CASE 4

Use these plugins as a reference when learning how ebook DRM schemes work.

What is it built with?

PythonCalibre

How does it compare?

apprenticeharper/dedrm_toolsbeetbox/beetsopenethan/smsboom
Stars15,17115,12515,227
LanguagePythonPythonPython
Setup difficultymoderateeasyhard
Complexity2/52/51/5
Audiencegeneralgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Repo is unmaintained, use the noDRM fork. Newer Amazon KFX DRM and recent Adobe schemes may not work.

License not stated in the README, check the LICENSE file in the repo before redistributing.

In plain English

This repository collects scripts and plugins that strip the digital rights management (DRM) protection from ebook files. DRM is the technology that ebook stores use to lock a purchased book to a particular reader or app. The scripts gathered here were originally written by a range of different authors over many years, and the repository was maintained for a long time by a person who goes by the handle Apprentice Harper, who took over from an earlier maintainer known as Apprentice Alf. The README is upfront that it is, in effect, a historical archive of these tools committed in roughly the date order in which they were created, with a couple of exceptions noted (the Requiem tools for Apple iBooks and Convert LIT for Microsoft .lit files are not included). The headline of the README is that the project is no longer maintained at this location. The author explains that they have not had time for the project in recent years and that someone using the handle noDRM has taken over maintenance and releases. New users are pointed at that fork rather than at this repository. There is a link in the README to a wiki page that documents the exact removal procedure. The tools are packaged as two plugins for calibre, a popular open-source ebook library manager. The DeDRM plugin handles books using Amazon DRM, Adobe Digital Editions DRM version 1, Barnes and Noble DRM, and some older formats. The Obok plugin handles DRM used on Kobo books. Version compatibility is spelled out: calibre 5.x and later need release 7.2.0 or newer of the tools, while calibre 4.x and earlier should use the 6.8.x line. A few practical notes appear in the README. For the newer Amazon KFX format, users need to also install a separate KFX Input plugin from inside calibre. The author warns that Amazon changes its KFX DRM scheme frequently, so a method that works today may not work next week. There is also a recommendation to use Adobe Digital Editions version 2.0.1 specifically, to avoid a newer Adobe DRM scheme that these tools cannot handle. Users are reminded that they have to unzip the downloaded release to get at the plugin file, and that the full repository archive cannot itself be loaded into calibre. The README closes with thanks to the developers who did the reverse-engineering work that made the original tools possible.

Copy-paste prompts

Prompt 1
Walk me through installing the DeDRM and Obok plugins into calibre 5.x to handle my Kindle and Kobo library.
Prompt 2
Set up Adobe Digital Editions 2.0.1 with these tools so ADE-protected EPUBs decrypt cleanly in calibre.
Prompt 3
Add the KFX Input plugin to calibre and explain how it pairs with DeDRM for newer Kindle books.
Prompt 4
Point me at the active noDRM fork and tell me which release matches my calibre version.
Prompt 5
Diagnose why a freshly downloaded Kindle book still shows DRM after running through the plugin.

Frequently asked questions

What is dedrm_tools?

A historical archive of calibre plugins that remove DRM from Amazon, Adobe, Barnes and Noble, and Kobo ebooks. Maintenance moved to the noDRM fork.

What language is dedrm_tools written in?

Mainly Python. The stack also includes Python, Calibre.

What license does dedrm_tools use?

License not stated in the README, check the LICENSE file in the repo before redistributing.

How hard is dedrm_tools to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is dedrm_tools for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.