Converting Notion page links to Obsidian page links (repost)

Apologies for the double post, accidentally deleted the other one, sorry!

Hey guys, been using Obsidian for a few years now and am slowly transferring everything over from Notion, now finally being able to transfer everything with the addition of Bases.

Problem

The problem I’m running into is the way Notion handles the way it links to pages. Unfortunately they convert page name to a long website link instead of just plaintext double brackets like in Obsidian. This makes it impossible to import over page links made in Notion into Obsidian.

The specific place I find this issue is in Notion’s databases, particularly with the use of the Relation property. But this problem occurs in just regular text pages as well.

Solution?

Only post I’ve seen related to this is here: (can’t include links in the post)

forum.obsidian.md/t/import-from-notion/636

As I understand it, this script tries its best to sanitize the Notion page links so Obsidian can use them. This works due to the fact that page links in Notion will contain strings of text between dashes before an alphanumeric string and the script will add double brackets to create links in Obsidian . Unfortunately, not all page links contain the page titles in text.

I’m not sure if anyone else has found a solution for this outside of manually remaking each link but I can’t really see any other way with how Notion handles page links, as there is no way to figure out the note name from the link itself anymore.

Please let me know if there exists a solution to make this conversion less time consuming. Thanks!