I recently formatted and reinstalled Windows and completely forgot to backup my web browsers bookmarks.
I found some old backup of the bookmarks but it was in JSON format.
And I tried to import that JSON file into Firefox, Brave, Chrome. It didn’t work.
Not even with Firefox that created that backup in the first place.

But I found a solution. It isn’t perfect but it works.
You just (probably) have to rearrange some of them after you import them to Brave.
This is what I did:
Go to https://github.com/Schloool/json-to-html-bookmark-parser and download the zip file with all the code.
Unpack it and open index.html in your web browser.
Drag and drop your bookmarks JSON file in the web browser window and download the HTML file that get created.
I could not import this file directly into Brave, but it worked fine in Firefox.
Then I used Firefox to export all bookmarks as a HTML. And that file worked with Brave.
The import wasn’t perfect. Some bookmarks were placed in the wrong folders, but it didn’t take too long sort it out.
It might be a good idea to store that HTML file in case it happens again. ;)