# Exporting as markdown on desktop destroys url by replacing / with \_

**URL:** <https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169>\
**Category:** Support\
**Created:** [11 June 2026 12:26 UTC](https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169 "2026-06-11T12:26:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruekvnecsdfuse](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ruekvnecsdfuse](https://discourse.joplinapp.org/u/ruekvnecsdfuse)\
**Post date:** [11 June 2026 12:26 UTC](https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169/1 "2026-06-11T12:26:12Z")

</div>

### Operating system

macOS

### Joplin version

3.6.14

### Desktop version info

Joplin 3.6.14 (prod, darwin)

Device: darwin, Apple M2  
Client ID: a54c2f96659145cab5d4dc95f1f932a8  
Sync Version: 3  
Profile Version: 49  
Keychain Supported: Yes  
Alternative instance ID: -  
Sync target: (None)  
Editor: Markdown

Revision: 7e2765a

Backup: 1.5.1  
Freehand Drawing: 4.3.0

### What issue do you have?

I have some notes where I saved an url in the title to remember to read this page later.

When I export them to markdown, I get a text file for each note but since file names cannot have slash in them / these slashes are replaced by underscore \_ instead, destroying the urls.

This cannot easily be fixed by replacing all \_ with / since the urls might also contain real underscores and we cannot know which is which.

I suggest changing the export so that a note only containing an url is exported with the url in the text file contents, since the text file is empty anyway whan the note only has a title. Then we would get the real url inside the text file.

---

<div class="post-metadata">

**Author:** ![mrjo118](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrjo118/32/23404_2.png) [@mrjo118](https://discourse.joplinapp.org/u/mrjo118)\
**Post date:** [11 June 2026 12:52 UTC](https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169/2 "2026-06-11T12:52:19Z")

</div>

If you use the export to md + frontmatter option, it will retain the original filename in the contents (in the frontmatter)

---

<div class="post-metadata">

**Author:** ![ruekvnecsdfuse](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ruekvnecsdfuse](https://discourse.joplinapp.org/u/ruekvnecsdfuse)\
**Post date:** [20 June 2026 19:58 UTC](https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169/3 "2026-06-20T19:58:36Z")

</div>

Thanks for the suggestion. Will try this next time.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [20 July 2026 19:58 UTC](https://discourse.joplinapp.org/t/exporting-as-markdown-on-desktop-destroys-url-by-replacing-with/50169/4 "2026-07-20T19:58:44Z")

</div>

Closed on 20 July 2026 19:58 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
