URL Encoder & Decoder
Encode or decode URL components so query strings and UTM links stay valid.
What this tool does
Encode or decode URL components so spaces and reserved characters do not break a query string. Encoding a full URL including https:// twice will produce a dead link.
Use this after the UTM builder when a campaign name contains spaces, or when you need to read a messy tracking URL someone sent you.
How to use it
- 1
Open URL Encoder Decoder and enter your text or values above.
- 2
Review the instant result in the output panel.
- 3
Copy the result into your caption, CMS, or notes.
- 4
Use Related tools below if you need a follow-up step in the same workflow.
Encode pieces, not the whole address twice
Encode the values of parameters (utm_campaign=spring sale), not the scheme and host. Decoding is for inspecting a link, not for “cleaning” a URL you still need to click.
This is not the same as a slug generator. Slugs are for page paths; encoding is for query values and fragments.
Tips
- Build UTMs first, then encode any value that has spaces or unicode.
- If a link 404s after encoding, you probably encoded the https:// prefix.
Related tools
All tools →Word Counter
Count words, characters, and reading time
Character Counter
Count characters, words, and lines instantly
Case Converter
Convert text to uppercase, title case, snake_case & more
Find And Replace
Find and replace text instantly in your browser
JSON Formatter
Format, validate, and beautify JSON data
Markdown Previewer
Preview Markdown as HTML in your browser
Frequently asked questions
Should I encode a full URL or only the query?▼
Encode components that contain spaces or reserved characters. Encoding an entire URL including https:// twice will break the link.
Is this the same as UTM building?▼
No. Use the UTM builder to add campaign parameters, then encode individual values if a parameter contains spaces.