This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to restore a corrupt bookmark file in Mozilla Firefox?

more options

Hello, I have a problem. I formatted the Disk C when I reinstalled Windows 7 and I recovered the file with bookmark.json with a software. When I tried to restore the bookmark I got this error. Unable to process the backup file. Probably is corrupted the file json. How to solve this problem and restore the bookmark? Is there a chance to solve the problem?

Hello, I have a problem. I formatted the Disk C when I reinstalled Windows 7 and I recovered the file with bookmark.json with a software. When I tried to restore the bookmark I got this error. Unable to process the backup file. Probably is corrupted the file json. How to solve this problem and restore the bookmark? Is there a chance to solve the problem?

All Replies (6)

more options

There are some JSON formatters online, but I don't know how much damage they can handle.

A fallback plan might be to extract all the URLs from the file (without the structure, tags, date added, last visited, etc.).

more options

Just in case... could you check whether Windows created the C:\Windows.old\ folder? That might not be applicable to the way you reinstalled, but if you have it, likely there are valid backup files in there.

more options

Thank you for promptness. Unfortunately, I didn't find this folder called Windows.old. I have formatted as I said the partition C. If there is a solution to repair that json file and if you know you can tell me how to do that. Or, to extract all the websites from the json file. This is the last solution to extract all websites in case that can not be done anything.

more options

You can open the file in the Scratchpad (Firefox/Tools > Web Developer) and click the "Pretty Print" button to see if that allows to find the position where the error occurs.

more options

No chance. I opened the file json, but it remain the same the window with this text in scratcherpad. /*

* This is a JavaScript Scratchpad.
*
* Enter some JavaScript, then Right Click or choose from the Execute Menu:
* 1. Run to evaluate the selected text (Ctrl+R),
* 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or,
* 3. Display to insert the result in a comment after the selection. (Ctrl+L)
*/

more options

Hi gaddy, if you change the file type drop-down in the Scratchpad's Open File dialog, can you open text files or other types of files in the Scratchpad? In other words, is the problem limited to that one JSON file?