In one of those moments of questionable inspiration that hit me from time to time, I decided to figure out how to take the clippings file on my Kindle and convert it into something easier to browse and manipulate off-line on my PC. As I’m a fairly decent hand with the PHP programming language, that was my obvious tool of choice. Since PHP is designed with web applications in mind, it seemed equally obvious for me to make the tool available on the web, should anyone else desire to do the same thing with their Kindle clippings (Klippings?).
What I came up with is a simple web form via which you can upload your “My Clippings.txt” file from your Kindle, which you can find in the “documents” folder of your Kindle device when you connect it to your computer via USB. Once you submit it to the web page, the program breaks the text up into individual clips, then parses each clip to extract the various data elements. Those data elements are then written to a temporary CSV (comma-separated values) file, and when they are all written the file is sent back to the user as a file download, which can be saved or opened in a compatible program, e.g. pretty much any spreadsheet program. (If your spreadsheet program asks, you should specify comma as the field separator and double quotes as the text, umm…, quoter? Also specify UTF-8 as the character set for best compatibility.)
Once you’ve loaded it into a spreadsheet (or database, if you’re as geeky as I am), you can then sort your highlights and notes by book title, author, date, etc. The default sorting is first by title, then by author, then by location number.
[This was fixed 2011/07/02.] I have found one minor bug: if a location has a page number associated with it, the text gets a bit screwed up (sorry for the technical jargon). If you try it and find any other bugs or have any suggestions, please feel free to leave a comment here.
Lastly, I’ll repeat what it says on the tool’s web page: “Privacy Policy: Your clippings file will not be saved anywhere by this web page. The data is parsed, output is created and sent back to you, and then discarded at this end. None of your data will ever be used by me nor shared with anyone else.”

Fixed the formatting issue for books that have page numbers in addition to location numbers.
love this tool. exactly what I am looking for.
I still found some formatting issue like
“Prayer raises my sight beyond the petty — or, as in Job’s case, dire — circumstances of daily life to afford a glimpse of that lofty perspective. I realize my tininess and God’s vastness, and the true relation of the two.”
                                                         Prayers like gravel
That appears to be a character set issue rather than a formatting issue. It’s still a problem, though it may be simply an issue that you need to specify that whatever spreadsheet or other tool you use to open the output file does so using the UTF-8 character set. (At least I think that’s what should be output, I’ll have to go check the source code to see — or fix it.
)
The link to Clippings doesn’t seem to work for me. Is anyone else having this problem?
Oops! I think I deleted that directory when I was trying to undo the damage when my web host got hacked. It may take a few days before I can get it back up. Thanks for the heads-up.
OK, it’s back up now and working again: http://www.ebookworm.us/clippings/