Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A python-based parser (and example application) for kindle's My Clippings.txt
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

what is it?

It is a small program that reads a text file formatted like Kindle’s My Clippings.txt on stdin and produces a complete HTML file with (sorted) highlights from that file on stdout. It also optionally takes a string to fuzzy-match with titles as first argument.

Like this: ‘first as tragedy then as farce’ < /media/Kindle/documents/My\ Clippings.txt > myzizekquotes.html


  • python-levenshtein


  • an actual CLI itility, based on my own homegrown parser (so don’t trust it!)
  • a class/module for parsing Kindle’s My Clippings.

known errors

  • all input is assumed to be Unicode, because, well, it should be.
  • not very fine-grained search, yet.


kindle-clippings-parser is free software.

You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program, (in the COPYING-GPL-3 file in this directory). If not, see

Something went wrong with that request. Please try again.