Answers.Body: <p><a href="https://ebooks.stackexchange.com/questions/13/extracting-notes-and-highlighting-from-kindle-books?rq=1">Another answer</a> suggests they are available on a web interface, but only if they are books sourced from Amazon (and that you keep it connected to the internet).</p>
  
  <p>If neither of these cases apply to you I may have serendipitously made a starter of a solution to the issue; on my Kindle Paperwhite there's a file under <code>/Kindle/system/userannotlogsDir/</code> titled <code>annotation_&lt;Unix_Epoch_timestamp&gt;</code>, which I assume is used to determine where the shading for your highlights shows up (I don't know if this file sticks around on Kindles that get connected to wifi). If you download this to your computer, I wrote a <a href="https://gitlab.com/ChemiKyle/Portrait-of-an-Artist/blob/master/data/convert_annotation.pl" rel="nofollow noreferrer">perl script</a> to format it as a proper <code>.jsonl</code> file.</p>
  
  <p>From there, <code>contentReference.guid</code> is a permutation of the book title, and <code>position.begin</code> &amp; <code>position.end</code> define the start and end of a highlight by the number of characters (might be bytes) in the ebook file, you may be able to find where your highlights were from there.<br>
  Another <a href="https://gitlab.com/ChemiKyle/Portrait-of-an-Artist/blob/master/data/character_counts.sh" rel="nofollow noreferrer">bash script</a> to generate a spreadsheet of byte lengths of may help to find the exact location of the quotes by dividing by the total length, but it's not always 1:1 with the Kindle's percentage calculation (I suspect images embedded in the files may be the culprit).</p>
  
  <p>Hopefully that's enough to get you started! Sorry it's not as simple as a toggle in the main menu.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-08T14:35:51.537Z
Answers.Text: Thanks for your answer! I'm in China -- so the Amazon cloud services don't really work here. I looked on their web interface but found nothing. When I get a bit of time I'll definitely try your solution and get back to you! Thanks!
Answers.UserDisplayName: whr2206
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-11T22:43:25.830Z
Answers.Text: If you've kept it in airplane mode the logs should persist.  I updated my response with another script that may help recreate them; if you poke around the repository there's also one to backup `My Clippings.txt` if you insist on continuing to delete it from your device. I wish you the best of luck!
Answers.UserDisplayName: Kyle Chesney
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-20T03:03:17.897Z
Answers.LastActivityDate: 2018-12-11T22:39:57.713Z
Answers.LastEditDate: 2018-12-11T22:39:57.713Z
Answers.UserDisplayName: Kyle Chesney
Body: <p>Is it possible to export old clippings after the MyClippings.Txt file has been deleted? I delete it because keeping every note I've ever saved would be messy. </p>
  
  <p>A few months ago docs on my computer became corrupt. I couldn't repair them -- and I had already deleted the MyClippings.txt on my kindle. However, when opening a book on my Kindle -- I noticed that I could still see everything I had saved. However, browsing each book and manually inputting everything on my computer would take way too much time.</p>
  
  <p>Is there a way to "re-export" the clippings I previously made? They're obviously still "there" on my Kindle Voyage -- but I just don't know how to re-export them.</p>
  
  <p>Thanks for your time!</p>
  
Tags: <kindle>
Title: Accessing Clippings Deleted from MyClippings.txt
UserDisplayName: whr2206
ThreadText: # Accessing Clippings Deleted from MyClippings.txt
  
  (Asked by: username_0 on 2018-08-03)
  
  Is it possible to export old clippings after the MyClippings.Txt file has been deleted? I delete it because keeping every note I've ever saved would be messy.
  
  A few months ago docs on my computer became corrupt. I couldn't repair them -- and I had already deleted the MyClippings.txt on my kindle. However, when opening a book on my Kindle -- I noticed that I could still see everything I had saved. However, browsing each book and manually inputting everything on my computer would take way too much time.
  
  Is there a way to "re-export" the clippings I previously made? They're obviously still "there" on my Kindle Voyage -- but I just don't know how to re-export them.
  
  Thanks for your time!
  
  **Tags:** kindle
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-20. Score: 2
  
  [Another answer](https://ebooks.stackexchange.com/questions/13/extracting-notes-and-highlighting-from-kindle-books?rq=1) suggests they are available on a web interface, but only if they are books sourced from Amazon (and that you keep it connected to the internet).
  
  If neither of these cases apply to you I may have serendipitously made a starter of a solution to the issue; on my Kindle Paperwhite there's a file under `/Kindle/system/userannotlogsDir/` titled `annotation_`, which I assume is used to determine where the shading for your highlights shows up (I don't know if this file sticks around on Kindles that get connected to wifi). If you download this to your computer, I wrote a [perl script](https://gitlab.com/ChemiKyle/Portrait-of-an-Artist/blob/master/data/convert_annotation.pl) to format it as a proper `.jsonl` file.
  
  From there, `contentReference.guid` is a permutation of the book title, and `position.begin` & `position.end` define the start and end of a highlight by the number of characters (might be bytes) in the ebook file, you may be able to find where your highlights were from there.  
  Another [bash script](https://gitlab.com/ChemiKyle/Portrait-of-an-Artist/blob/master/data/character_counts.sh) to generate a spreadsheet of byte lengths of may help to find the exact location of the quotes by dividing by the total length, but it's not always 1:1 with the Kindle's percentage calculation (I suspect images embedded in the files may be the culprit).
  
  Hopefully that's enough to get you started! Sorry it's not as simple as a toggle in the main menu.
  
  > **Comments:**
  > **username_0**: Thanks for your answer! I'm in China -- so the Amazon cloud services don't really work here. I looked on their web interface but found nothing. When I get a bit of time I'll definitely try your solution and get back to you! Thanks!  
  > **username_1**: If you've kept it in airplane mode the logs should persist.  I updated my response with another script that may help recreate them; if you poke around the repository there's also one to backup `My Clippings.txt` if you insist on continuing to delete it from your device. I wish you the best of luck!  
  
  ---
  
  