Skip to main content
CodeSpeedTest
Languages
Start TypingJump into a test — pick any languageAdaptive TrainingUnlock chars as you master themPractice DrillsFocused sessions targeting weak spotsDaily ChallengesNew coding challenges every dayRace ModeCompete against others in real timeAI OpponentRace against an AI at your WPM levelTournamentsLive coding speed tournamentsArcade GamesBoss fight, arena survival, run-and-gun & moreGamificationXP, coins, badges & quests
LeaderboardGlobal rankings for every languageCertificatesEarn verifiable Bronze / Silver / Gold certsActivityDaily streaks & historical analyticsProfileYour stats, badges & achievements
Browse Languages500+ languages with real code examplesBlogTips, guides & deep divesFree ToolsWPM calculator, typing speed report & moreFAQCommon questions answeredGetting StartedNew to CodeSpeedTest?AboutOur story & missionSupportGet help — Pro users get priorityContactGet in touch with the team
TeamsPricing
Tools/URL Encoder & Decoder

URL Encoder & Decoder

Encode text into a URL-safe percent-encoded format, or decode it back to plain text — instantly, entirely in your browser.

Output will appear here

Frequently Asked Questions

What is URL/percent-encoding?

URL encoding converts characters that aren't allowed in a URL (spaces, &, ?, non-ASCII characters) into a percent sign followed by two hex digits, so the URL remains valid and unambiguous.

When do I need to encode a URL?

Whenever a value (like a search query or a parameter containing spaces/special characters) is inserted into a URL's query string — encoding it prevents it from breaking the URL structure.

Why does decoding sometimes fail?

It fails if the input isn't validly percent-encoded — for example, a stray % not followed by two valid hex digits. Make sure you're pasting fully encoded text.

Related free utility tools

  • JWT DecoderPaste a JWT to instantly decode its header and payload — decoded entirely in your browser.
  • JSON Formatter & ValidatorFormat, validate, and beautify messy JSON instantly, with clear syntax error messages.
  • Regex TesterTest regular expressions against sample text with live match highlighting, flags, and capture groups.
  • Unix Timestamp ConverterConvert Unix timestamps to human-readable dates and back, with live current epoch time.
  • Color ConverterConvert colors between HEX, RGB, and HSL instantly, with a live preview swatch.
  • Word CounterCount words, characters, sentences, and paragraphs instantly, with estimated reading time.

Explore CodeSpeedTest

  • →Browse all free tools
  • →Take the live coding speed test
  • →Browse all 500+ languages
CodeSpeedTest

Improve your coding speed, code accuracy, and programming syntax WPM with practice sessions across 500+ programming languages.

Quick Links

HomeAboutFeaturesGetting StartedLanguages

Legal & Support

Pro ⚡ PricingContactPrivacy PolicyTerms of Service

Connect

CodeSpeedTest on GitHubCodeSpeedTest on TwitterEmail CodeSpeedTest

© 2026 CodeSpeedTest. All rights reserved.