Searchlight
Tools
BlogAbout
Free SEO Audit
Back to home
๐Ÿ“ˆSEO & Analytics
๐Ÿ—‚๏ธText & Data
๐Ÿ”Encoders & Decoders
Base64 TextBase64 FileURL EncoderHTML EntitiesNumber Base ConverterJWT DecoderMorse CodeROT13 / Caesar CipherHash GeneratorHMAC GeneratorHex โ†” Base64
โšกGenerators
๐Ÿ”„Converters
๐Ÿ–ผ๏ธImage Tools
๐Ÿ“„PDF Tools
๐Ÿ’ปCode Tools
๐Ÿ”Regex & Parsing
๐ŸงฎCalculators
๐Ÿ—บ๏ธDiagrams
๐ŸŒNetwork & Web
โœ๏ธText Utilities
๐ŸŽจColor Tools
๐Ÿ”€Diff & Compare
148+ tools. OAuth is read-only.
Searchlight

148+ free SEO, developer, image, PDF, and productivity tools - no account needed.

Free ยท all tools included
Company
  • Blog
  • About
  • Free SEO Audit
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 Searchlight. All rights reserved.

Read-only OAuth ยท No data reselling ยท Completely free

URL Encoder / Decoder

Encode text for safe use in URLs, or decode percent-encoded strings back to readable text.

Uses encodeURIComponent - encodes all characters except letters, digits, and - _ . ! ~ * ' ( )

About this tool

Encode URLs and special characters to percent-encoded format (also called URL encoding or percent encoding) or decode percent-encoded strings back to plain text. URL encoding is required when passing special characters like spaces, &, =, and # in query parameters to prevent them from breaking URL parsing.

How to URL-Encode or Decode a String

  1. 1Paste your text or URL into the input field.
  2. 2The encoded output appears instantly - % characters replace unsafe characters.
  3. 3To decode, paste a percent-encoded string and the original text appears.
  4. 4Use 'Encode URI Component' mode for encoding individual query parameter values.
  5. 5Click 'Copy' to copy the encoded or decoded result.

Frequently Asked Questions

What is URL encoding?+
URL encoding replaces unsafe characters with a % followed by two hexadecimal digits. For example, a space becomes %20, & becomes %26, and = becomes %3D.
When should I URL-encode my data?+
Always encode values being placed in URL query parameters. This prevents characters like &, =, and # from being interpreted as URL structure rather than data.
What is the difference between encodeURI and encodeURIComponent?+
encodeURI encodes a full URL but leaves reserved characters (like /, ?, &, =) intact. encodeURIComponent encodes everything including reserved characters - use it for individual query parameter values.
Why does a space become %20 in some places and + in others?+
%20 is the standard URL encoding for a space per RFC 3986. The + sign for spaces is an older convention from HTML form encoding (application/x-www-form-urlencoded) and should only be used in that context.
Looking for a deeper guide on this topic? Browse the Searchlight blog.
Visit the blog โ†’

Related tools

View all Encoders & Decoders โ†’
Base64 TextEncode & decode Base64 textBase64 FileEncode images, PDFs & files to Base64HTML EntitiesHTML entity encode & decodeNumber Base ConverterBinary / octal / decimal / hex converter