Web & Encoding Tool

URL Encoder & Decoder

Use this URL encoder and URL decoder to turn special characters into safe percent-encoded text, or to make a cluttered %20-filled link readable again. Pick component or full-URL mode, choose how spaces are handled, and copy the result without leaving your browser.

Encodes and decodes in one placeComponent and full-URL modesUTF-8 safe for accents and emoji

How-to

How to Encode or Decode a URL in 3 Simple Steps

Paste, choose a direction, copy. That's the whole job.

  1. 01

    Paste text or a link

    Drop in whatever you need to convert: a search phrase, a single query value, a full address, or a string that's already encoded. The URL encoder and URL decoder both read from this one field, so there's no second box to fill in.

    URL encoder and decoder with input field for plain text or a full link
  2. 02

    Choose encode or decode, then a mode

    Pick Encode to make text safe for a link, or Decode to read an encoded one. Component mode escapes almost everything, which is right for one parameter value. Full URL mode leaves characters like : / ? & # alone so the address keeps its shape. Switch on "Use + for spaces" if you're building form-style query strings.

    URL encoder and decoder with encode or decode direction and component versus full URL mode
  3. 03

    Copy or swap

    Copy the output, or hit Swap to move it back into the input and run the opposite direction. It's a quick way to prove a round trip returns your original text.

    URL encoder and decoder output with percent-encoded result and copy or swap actions

Features

What this URL encoder & decoder includes

  • 01

    Both directions in one place

    Switch between encoding and decoding with a click, instead of keeping a separate encoder tab and a separate decoder tab open.

  • 02

    Component and full-URL modes

    Escape a single value strictly, or encode a whole address while keeping its slashes, colons and query markers intact.

  • 03

    UTF-8 handling

    Accents, non-Latin scripts and emoji are converted byte by byte, so Zürich becomes Z%C3%BCrich and comes back unchanged.

  • 04

    Plus sign or %20 for spaces

    Form submissions often use +, while most other places expect %20. One toggle covers both.

  • 05

    Instant and private

    Output updates as you type, and because it runs locally, a link containing a token or an internal hostname stays on your device.

Formats

Supported URL encoding formats

Pick a tab to see how each case is written. Every sample can be pasted straight into the tool.

Space

hello world becomes hello%20world. In form style it becomes hello+world.

hello world → hello%20world / hello+world

Workflow

URL encoder and URL decoder workflow in your browser

Most online encoder pages send your text away to be processed. Here is the same routine, done entirely in your tab.

  • Paste the raw value

    A parameter, a path segment or a whole link all work.

  • Pick Encode or Decode

    The result appears immediately, with no submit button.

  • Choose component or full URL

    Use component for one value and full URL for a complete address.

  • Decide on + or %20

    Match whatever the receiving system expects.

  • Copy, or Swap to verify

    Run the output back the other way and confirm it matches your original.

URL encoder and decoder workflow in the browser with modes, live output, and copy controls
Encode or decode percent-encoded text entirely in your tab.

Audience

Who URL Encoder & Decoder is for

Anyone who works with links, query strings or request logs.

  • Web developers

    Building redirect URLs or query strings? A quick URL encoder beats escaping characters by hand and getting one wrong.

  • API and backend engineers

    Logged request lines are full of %2F and %3A. A URL decoder makes them readable in seconds.

  • SEO and marketing teams

    Campaign links with spaces and ampersands break easily. Encode the values, and decode analytics URLs to see what was really sent.

  • QA and support staff

    Reproduce a bug from an encoded link pasted into a ticket.

  • Students

    See exactly how characters map to bytes and then to percent codes.

Use cases

What you can finish faster

Campaign links, callback URLs and log reading are all one paste away.

  • Outcome

    UTM and campaign links

    Encode each value on its own in component mode, then join them with & and =. One encoder pass per value keeps names with spaces from breaking the link.

  • Outcome

    Reading logged URLs

    Paste a long, escaped line and decode it to see the real path and parameters.

  • Outcome

    Redirect and callback parameters

    When one URL lives inside another as a value, encode the inner address fully so its ? and & don't leak into the outer query.

  • Outcome

    Debugging API requests

    Decode a query parameter, and if it holds JSON, paste it into the JSON Formatter to read it properly. The decoder step comes first, then the formatting.

Limits

Double encoding, reserved characters, and what encoding won't do

Percent-encoding makes text safe to carry. It does not make it secret.

  • Not encryption

    Anyone can run a URL decoder on an encoded string, so never treat it as protection for passwords or tokens.

  • Double encoding

    If you see %25 followed by hex digits, such as %2520, the text was encoded twice. Decode once more to get back to the original.

  • Pick the right mode

    Component mode on a full address will escape the slashes and colon and break the link. Full URL mode on a single value will leave & and = untouched and split your parameter in two.

  • Not the same as Base64

    A string of mixed letters ending in = is usually Base64, so you need a 64 base decoder rather than this tool. For JWT tokens, use the JWT Decoder.

Why this tool

Why use this URL encoder & decoder

Plenty of pages will escape a string. Fewer let you switch modes, control spaces and keep your data private in the same place.

  • Both ways

    Both directions, one tool

    You don't have to hunt for a separate page when you need to reverse a result.

  • Modes

    The right mode for the job

    Component and full-URL modes are side by side, so you pick deliberately instead of guessing.

  • Privacy

    Private by design

    Conversion happens in your browser, so links containing keys, tokens or internal hosts are never transmitted.

  • Access

    No sign-up, no install

    It works as an online encoder you can open on any machine without setting anything up.

  • Errors

    Clear handling of bad input

    A stray % or a broken sequence is flagged instead of being silently mangled.

  • Spaces

    Spaces under your control

    Choose + or %20 deliberately so query strings and path segments encode the way your API expects.

100%

Runs in your browser

2

Encoding modes built in

0 bytes

Uploaded anywhere

Comparison

URL encoder & decoder vs popular alternatives

Most people choose between a handful of approaches. Here is how they compare.

Capability

This url encoder & decoder

Converter sites
Browser console
Command line
  • Encode and decode
    Yes
    Yes
    Two functions
    Varies
  • Component vs full URL
    Yes
    Varies
    Yes
    Varies
  • Plus or %20 for spaces
    Yes
    Rare
    Manual
    Manual
  • Data stays on device
    Yes
    —
    Yes
    Yes
  • No setup needed
    Yes
    Yes
    Yes
    Needs tools

Need a fast check without opening devtools or a terminal? That's the gap this page fills.

Try URL Encoder & Decoder

Privacy

What you paste stays on this device

What you paste stays on this device. Nothing is uploaded or stored.

URL encoder and URL decoder questions

A URL encoder rewrites characters that aren't safe in a web address as a % followed by two hex digits, so the link arrives intact. A URL decoder does the reverse and restores the readable text.

Open to freelance & collaborationIndia

Start a project

Let's Build Something Great Together

Have a project, product idea or development challenge? Let's discuss how I can help turn it into a reliable, scalable web application.

~/hire-jay

$

Usually replies within 24 hours

What brings you here?