Toolflix

URL Encoder & Decoder

Encode or decode URLs and query parameters. Toggle between encodeURIComponent and encodeURI modes, or let auto-detect figure it out.

How to Use This URL Encoder

Paste your URL or text into the input field. Click Encode to percent-encode special characters, or Decode to convert encoded characters back to readable form. The Auto-detect button checks if the input is already encoded and performs the appropriate operation. Use encodeURIComponent mode for query parameters, and encodeURI mode for full URLs.

encodeURIComponent vs encodeURI

encodeURIComponent encodes all special characters including :, /, ?, #, and &. It is ideal for encoding individual query parameter values. encodeURI preserves these URL structure characters and only encodes characters that are not valid in a URI. Use encodeURI when encoding a full URL string.

Frequently Asked Questions

Is my data safe?

Yes. All encoding and decoding happens in your browser. No data is sent to any server.