MicroToolKit

Free URL Encoder & Decoder

Encode special characters into percent-encoded URL format, or decode a percent-encoded URL back to human-readable text. Supports encodeURIComponent and encodeURI modes.

Length: 80 chars
Click 'Convert Now' or select a mode above to see converted output.

Frequently Asked Questions

What is URL encoding?

URL encoding (percent-encoding) replaces unsafe characters in URLs with a % followed by two hex digits. For example, a space becomes %20 and an ampersand becomes %26. This ensures URLs are transmitted correctly over the internet.

What is the difference between encodeURI and encodeURIComponent?

encodeURI() encodes a full URI but preserves URL-special characters like :, /, ?, #, and &. encodeURIComponent() encodes everything except letters, digits, and a few special characters — use it for encoding individual query parameter values.

Related Free Tools

Your data never leaves your device

All encoding/decoding runs locally in your browser. No data is transmitted. You can verify this in your browser's Network tab — no outbound requests are made with your data. Read our Privacy Policy →