- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
URL Decode and Encode
Encode/Decode an URI using URI Encode algorithm
🚀 315,219 total conversions (8,911 this month)
Practice Python with coding challenges
Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.
Introduction
This online URL encoder tool helps you encode or decode URLs quickly and easily. It’s a handy solution for ensuring your URLs are properly formatted for transmission over the Internet.
How to Use This Tool
- Paste your URL directly into the editor or type it in.
- Click the Encode or Decode button to process your URL.
-
After encoding or decoding, you can:
- Download the result.
- Save or share it using a unique link.
- Sign in with Google or GitHub to save your result for future use.
What is URL Encoding?
URL encoding is the process of converting characters into a format that can be safely transmitted over the Internet. Since URLs can only use the ASCII character set, characters outside of this set need to be encoded into a valid ASCII format.
URL encoding replaces unsafe characters with a "%" followed by two hexadecimal digits. For example:
- A space is usually encoded as a plus (
+) sign or%20. - Special characters like
#and&are replaced with their encoded equivalents (%23,%26).
This ensures that URLs remain intact and are correctly interpreted when transmitted across the web.
Learn more about URL encoding from the official URL Encoding Guide .
Examples
Before encoded
http://www.example.com/new pricing.htm
After encoded
http://www.example.com/new%20pricing.htm