ToolMint
← Back to home

URL Encoder / Decoder β€” Encode, Decode & Parse URLs

Encode URLs using 4 percent-encoding methods or decode them with 3 methods β€” including form-urlencoded and encodeURIComponent. Paste any full URL to instantly break it down into protocol, host, path, and individual query parameters. 100% client-side, nothing sent to any server.

Text / URL to Encode

Input chars
0
Encoded seqs
0
Size diff
Β±0
⚑

Real-time Encoding

Encode or decode URLs instantly as you type β€” no server calls needed.

πŸ”

URL Breakdown

Paste a full URL to see protocol, host, path, and query params parsed out.

πŸ”’

100% Private

Everything runs in your browser. No data is sent anywhere.

Included URL Tools

URL Encoder (4 Methods)

encodeURIComponent, encodeURI, form-urlencoded (+spaces), or spaces-only β€” choose the right method for your use case.

URL Decoder (3 Methods)

decodeURIComponent, decodeURI, or form-urlencoded (+ β†’ space) to reverse any percent-encoded string.

URL Breakdown & Query Parser

Paste any full URL to see protocol, host, path, query string, fragment, and each query parameter listed as key=value pairs.

How to Encode or Decode a URL

1

Choose mode

Select Encode to percent-encode special characters, or Decode to convert a percent-encoded URL back to plain text.

2

Select encoding method

Pick from 4 encode or 3 decode methods depending on whether you're handling query params, form data, or full URLs.

3

Paste your text

Type or paste the URL or text β€” the output updates in real time with character count and size diff stats.

4

Use URL breakdown

Paste a complete URL to split it into protocol, host, path, query, and hash β€” with individual query params listed below.

Frequently Asked Questions

What is the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes all special characters including :/?# β€” best for individual query parameter values. encodeURI leaves URL-structural characters like :// intact β€” best for encoding a full URL.
What is form-urlencoded encoding?
Form encoding is like encodeURIComponent but replaces spaces with + instead of %20. It is used in HTML form submissions and the application/x-www-form-urlencoded content type.
Can I parse a URL into its components?
Yes. Paste any complete URL and the URL Breakdown section automatically splits it into protocol, host, path, query string, fragment, and individual query parameters.
Is my URL data sent to a server?
No. All encoding, decoding, and URL parsing is done entirely in your browser. Nothing is transmitted anywhere.
How do I decode %20, +, and other encoded characters?
Use Decode mode. Choose decodeURIComponent to convert %20 to a space, or form-urlencoded mode to convert + to a space as well.

πŸ”₯ Most Popular Tools

View all 64 β†’