Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

Why isn't my bookmark restore file type recognized?

more options

I'm trying to restore my bookmarks after reinstalling Windows 10. They were saved in a windows.old file on my Passport. I used the Import and Backup button, selected Restore, and choose my file. It's a json file. It then gave me an error message "unsupported file type."

BTW, the file ends in .jsonlz45dd510a6. It's not recognized as a json file, so I had choose 'all files" and then highlighted it to select it, and received the above error message. I then tried making a copy but omitting the letters and numbers after .jason, and tried using that, but got an error message "unable to process the backup file."

I'm trying to restore my bookmarks after reinstalling Windows 10. They were saved in a windows.old file on my Passport. I used the Import and Backup button, selected Restore, and choose my file. It's a json file. It then gave me an error message "unsupported file type." BTW, the file ends in .jsonlz45dd510a6. It's not recognized as a json file, so I had choose 'all files" and then highlighted it to select it, and received the above error message. I then tried making a copy but omitting the letters and numbers after .jason, and tried using that, but got an error message "unable to process the backup file."

Modified by justchris63

All Replies (16)

more options

The file extension is .jsonlz4 .

more options

If I change it to .jsonlz4 I still get the error message "unable to process the backup file."

more options
more options

No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

more options

hi dr,

Access the Feature

Firefox has a built-in export tool that's accessible from the bookmarks Library.

To access the Library,
click the “Firefox” button and then select “Bookmarks” or
press “Ctrl-Shift-B.” To open the 

Export Bookmarks File window, select “Import and Backup” above

the right panel and then select “Export Bookmarks to HTML."

Transfer the Bookmarks

Mozilla names the HTML file “bookmarks.html” and provides you with standard file-saving options.

Pick a storage location and then
click “Save.” After creating the copy, 

plug your external drive into the secondary computer or download the file onto

the computer from online storage,
then use the Library’s Import and Backup
menu again to import it. 

Select “Import Bookmarks from HTML," locate the file and click “Open.”

more options

IIRC, the importing from json backups and export-as-json have not worked in years. Had you tried copying the old FF profile over to your user files in the new Windows installation? There are different ways to activate the profile as a new profile in the existing FF installation, but deleting all of the Mozilla / Firefox folders from your Windows user profile (and possibly uninstalling FF) and then copying the old profile over (and reinstalling FF) should work.

more options

justchris63 said

No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

What does the data in the box look like after the page decompresses it?

A JSON-format bookmark backup usually starts with something like this (in readable characters):

{"guid":"root_____

What's in your file?

more options

The file is bookmarks-2019-11-20_2189_mWup1fRxr37mQD8f4y+KkA==.jsonlz4_LAST

The file contains my Firefox bookmarks.

This is a screen shot after decompression:

more options

Dinushi Dhananjani,

It could not export any of the json files as html files because it could not recognize them (as html files?), so I copied and renamed the most recent backup json file as an html file and was able to export it. When I imported it, it just made second copies of all my current bookmarks, not the extensive number of bookmarks from the old backup, even though it was the backup file, just renamed as an html file.

more options

crankygoat,

Where do I find the old profile, and what are its files called?

more options

Hi justchris63, your file shows a lot of nulls (00) at the end, which is a bad sign. The mechanism Windows uses to track the precise start and end of files may have failed you in this case.

How about the start of the file (if you scroll back to the top of the box)?

Do you have any other old bookmark backup files that don't show that type of corruption?

more options

The OP already posted that there is an error at the start of the file (line 1 column 1), so it is likely that the complete file only contains null bytes.

Quote: No. It says "failed JSON parsing: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".

more options

jscher2000,

All of the files in the backup folder show that same type of corruption. I have no other folders.

more options

Is this the only backup -- did the refresh create a Windows.old folder directly on the C drive?

If that is all we have, could you also take a look at the places.sqlite file(s) at the main level of your profile folder(s). You can load the file into an online viewer to see whether it can read any of the tables. For example:

https://inloop.github.io/sqlite-viewer/

The moz_bookmarks table requires the moz_places table for the URLs, so both need to be in good shape to get anything from the file.

more options

Yes it's the only backup -- its from an external Passport drive dedicated to backups. The C drive was wiped when I had to reinstall Windows 10.

What "refresh" are you referring to?

Since the backup the new bookmarks I've added are in readable files, but I'm trying to reload my bookmarks from the prior to the Windows 10 re installation from the backup on the Passport device.

I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database".

Modified by justchris63

more options

justchris63 said

I just tried viewing one of the old bookmarks backup files in the viewer you just referred me to and it says: "error: file is encrypted or is not a database".

The viewer is for .sqlite files, if you have an old places.sqlite file.