J. R. Swab

How To Extract Kindle Notes From The Web

Categories: [Technology], [How To]

Luckily, it's quite easy...

  1. Open https://read.amazon.com/notebook
  2. Select the book you want to extract your notes from.
  3. Open your web browser developer console.
  4. Copy and past the code below into the console
  5. Press enter and profit!
for(let i = 0; i < document.getElementsByClassName("kp-notebook-note").length; i++) {
  if (notes[i].id.length > 5) {
    console.log(notes[i].childNodes[1].innerHTML)
  }
}

Github Gist