📚 Kindle Highlights — VS Code Sync & Note ManagerSync Kindle Highlights from My Clippings.txt into Workspace Markdown Files with Customizable Nunjucks Templates. No login required. Overview • Features • My Clippings Guide • Code Architecture • System Flow • Structure • Quick Start • License
📌 OverviewA feature-rich VS Code extension ( ✨ Features (Key Outcomes & Capabilities)
🔬 Code Architecture & Implementation🔬 Code Implementation (
|
| OS | Typical path |
|---|---|
| Windows | E:\documents\My Clippings.txt (drive letter E:, F:… varies — look for the Kindle drive) |
| macOS | /Volumes/Kindle/documents/My Clippings.txt |
| Linux | /media/<username>/Kindle/documents/My Clippings.txt |
Can't find it? Open the Kindle drive in Explorer / Finder and use search for
My Clippings.
Step 3 — Copy it to your computer (recommended)
The file stays on your Kindle, but copying it to your PC makes future syncs one-click:
Documents/Kindle/My Clippings.txt
Suggested locations:
| OS | Suggested copy destination |
|---|---|
| Windows | C:\Users\<you>\Documents\Kindle\My Clippings.txt |
| macOS | ~/Documents/Kindle/My Clippings.txt |
| Linux | ~/Documents/Kindle/My Clippings.txt |
Step 4 — Sync in VS Code
- Open the VS Code workspace where you want your notes.
- Run Kindle Highlights: Sync from My Clippings.txt from the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - In the file picker, select the
My Clippings.txtyou copied in Step 3 (or pick it directly on the Kindle drive). - Done — one Markdown file is created per book in your configured highlights folder. The file path is remembered, so next time you just run the command again (no picker).
Good to know
- Append-only file: Kindle only ever appends to
My Clippings.txt, so re-syncing is safe — new highlights are merged, your own edits are preserved. - Device-only books: only books/periodicals actually opened on that Kindle device appear. Books you read solely in the phone/tablet app are not in this file.
- Japanese / multilingual: the parser handles BOM, CRLF, and Japanese/Chinese metadata lines (
メモ,ハイライト,しおり,位置,ページ…). - Refresh: after highlighting on your Kindle, reconnect via USB and copy the file over the old one, then sync again.
Troubleshooting
| Symptom | Fix |
|---|---|
| Kindle drive doesn't appear | Try another USB cable/port (charge-only cables don't work); unlock the Kindle screen |
My Clippings.txt is missing |
Open any book on the Kindle and add one highlight — the file is created on first highlight |
| Sync says 0 books | Make sure you selected the real file, not an empty copy; check it opens in a text editor and contains ========== separators |
| Wrong books synced | You picked an old copy — re-copy from the Kindle drive over it and sync again |
🚀 Quick Start
# Install from Marketplace:
ext install LoNebula9.kindle-highlights
# Or build locally:
npm install
npm run compile
Released under the MIT License. Crafted with precision by LoNebula