We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Accidentally changed my .json file to an .html, can't change it back...

  • 4 cavab
  • 7 have this problem
  • 1 view
  • Last reply by mazboot

more options

Hi,

I backed up my bookmarks as a .json file, then upgraded from Windows Vista Home Premium to Windows 7 Professional. Got confused about my bookmark back-up file when Windows didn't recognize the file type (because there was no extension attached to the file), and for some reason used 'Properties' to append the filename with ".html" Now that I recall it's supposed to be imported as a .json, windows won't let me change it back. Even when I add ".json" to the filename, windows (and Firefox) still see it as an html file.

Hi, I backed up my bookmarks as a .json file, then upgraded from Windows Vista Home Premium to Windows 7 Professional. Got confused about my bookmark back-up file when Windows didn't recognize the file type (because there was no extension attached to the file), and for some reason used 'Properties' to append the filename with ".html" Now that I recall it's supposed to be imported as a .json, windows won't let me change it back. Even when I add ".json" to the filename, windows (and Firefox) still see it as an html file.

All Replies (4)

more options

Hello.

You should be able to change it back to .json pretty easy. Just rename the file. If windows doesn't let you do this, you should contact Microsoft for support. Although this may be caused by the very dangerous feature of Windows that is to automatically hide file extensions. You should always have file extensions displayed, at all times, always, otherwise you are incurring in a very dangerous security problem.

On Windows 7, you can go, in the Windows Explorer, into Tools > Folder options... > View > Advanced Settings: and untick Hide extensions for known file types. If that doesn't help, you really need to contact Microsoft for support.

I'm sorry I can't be of more assistance.

more options

You can add quotes around the name to force a file extension: "bookmarks.json"
Otherwise Windows will preserve the hidden .html file extension and add the .json to the left part of the name.

more options

Morbus,

That did the trick. Problem solved. Thanks for the tip.

more options

Cor-el,

In case I need to know how in the future, can you tell me where I could do this? Every time I tried, I'd immediately get a notice that (") is not allowed in a filename.

Thanks,