Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

How do I copy an unencoded URL from my browser?

+10
−0

Whenever I copy and paste URLs from my browser, they end up being percent-encoded and completely unreadable.

For example, the homepage URL of the Japanese version of Wikipedia, https://ja.wikipedia.org/wiki/メインページ, becomes this monstrosity:

https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8

This happens even though the clean version of the URL displays in the browser's address bar.

Is there a quick and easy way to stop this from happening? I'm mostly interested in Edge and Firefox but solutions for other browsers would be appreciated.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (1 comment)

2 answers

+7
−0

Firefox

  1. Enter about:config in the address bar.
  2. Type "decodeurl" in the search field.
  3. Set browser.urlbar.decodeURLsOnCopy to true.

From the documentation:

browser.urlbar.decodeURLsOnCopy (boolean, default: false)

Whether copying the entire URL from the location bar will put a human readable (percent-decoded) URL on the clipboard.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Affects only copying from the location bar (1 comment)
+6
−0

A few options:

https://www.urldecoder.org/ is a converter for this

If you copy the URL without the https:// part, then it will no longer be recognized as needing to be URL encoded by the browser (works on Edge and I believe all Chromium browsers, I can't speak for others as I haven't used them)

Finally, there are extensions on the Chrome Web Store such as https://chrome.google.com/webstore/detail/copy-unicode-urls/fnbbfiapefhkicjhecnoepbijhanpkjp that I found on a quick search - I can't speak for any of these either, as I've never used them.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »