{"id":19,"date":"2012-11-30T21:12:00","date_gmt":"2012-11-30T21:12:00","guid":{"rendered":""},"modified":"2018-02-19T06:18:37","modified_gmt":"2018-02-19T06:18:37","slug":"how-to-edit-a-non-drm-mobi-to-html-and-back","status":"publish","type":"post","link":"https:\/\/chad.kennow.net\/blog\/2012\/11\/30\/how-to-edit-a-non-drm-mobi-to-html-and-back\/","title":{"rendered":"How to edit a non-DRM .mobi to .html and back"},"content":{"rendered":"<p>This is outside my normal scope of blog posts but a friend on facebook was struggling with this so I decided to put this on here since he&#8217;s having a busy day and I haven&#8217;t slept since 4pm yesterday.<\/p>\n<p>This will only work with non-DRM (Digital Rights Management) protected files.<\/p>\n<p>The file may have a different extension but I tested it with a different file extension and simply changed the file extension to .mobi from whatever it was.<\/p>\n<p>Things you&#8217;ll need:<\/p>\n<p>1. <a href=\"http:\/\/www.mobileread.com\/forums\/attachment.php?attachmentid=85082&amp;d=1334019732\" rel=\"nofollow\" target=\"_blank\">mobi2html win32 tool<\/a><br \/>2. <a href=\"http:\/\/notepad-plus-plus.org\/download\/v6.2.2.html\" rel=\"nofollow\" target=\"_blank\">notepad++<\/a><br \/>3. <a href=\"http:\/\/www.mobipocket.com\/en\/downloadsoft\/DownloadCreator.asp\" rel=\"nofollow\" target=\"_blank\">Mobipocket creator<\/a> or another tool to repack the .mobi This one creates a .prc file that seems to open fine in Kindle reader for PC<\/p>\n<p>Unpack the mobi2html tool and run it. (I&#8217;ve been told there is a false positive on some antivirus programs out their but according to <a href=\"http:\/\/www.mobileread.com\/forums\/showthread.php?t=174866\" rel=\"nofollow\" target=\"_blank\">multiple sources<\/a> it truly is a FALSE positive and can be ignored.)<\/p>\n<p>It will ask you for the location of the .mobi file you&#8217;re trying to &#8220;explode&#8221; \/ unpack. Locate the file and continue.<\/p>\n<p>This little tool extracts the contents into a simple HTML file that you can then edit simply with Notepad++.<\/p>\n<p>When you are done editing the file save it and open Mobipocket creator and choose the files accordingly to repack into the new .mobi\/.prc file that you&#8217;ll be creating. Don&#8217;t forget any images from the cover or table of contents it may have unpacked.<\/p>\n<p>Click Build and off you go. Once it&#8217;s done you&#8217;ll have a new .prc file you can then open in your reader.<\/p>\n<p>Again I don&#8217;t know that this works on DRM protected files. You&#8217;re on your own if you&#8217;re trying to do that. Also if you DEFINITELY need it to be &#8220;.mobi&#8221; you can try simply changing the file extension but I didn&#8217;t try to as I didn&#8217;t actually have an actual &#8220;.mobi&#8221; file to start with.<\/p>\n<p>Anyhoo, good luck and God Bless.<\/p>\n<p>In Christ,<\/p>\n<p>Chad Kennow<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is outside my normal scope of blog posts but a friend on facebook was struggling with this so I decided to put this on here since he&#8217;s having a busy day and I haven&#8217;t slept since 4pm yesterday. This will only work with non-DRM (Digital Rights Management) protected files. The file may have a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/chad.kennow.net\/blog\/2012\/11\/30\/how-to-edit-a-non-drm-mobi-to-html-and-back\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to edit a non-DRM .mobi to .html and back&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":1,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chad.kennow.net\/blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}