One T Tools • Creator & Developer

Safe URL text.
Encode or decode.

Encode or decode a URL component in your browser. Handle spaces, symbols and Unicode without sending your text to a server.

● Text stays on your device
Ready.

How to use it

This tool encodes a component, such as a query parameter value. It also escapes URL separators such as /, ?, & and =. For a whole URL, encode its parameter values individually. Enable the plus option only for form-encoded input.

Private by design

Your input and output stay in this browser. No account, upload or server processing is required.

Encoding a query value rather than an entire address

Paste only the component you need to encode and select Encode Text. To reverse percent-encoding, use Decode Text. Turn on the plus option only when decoding form-encoded data.

Worked example

The value red & blue becomes red%20%26%20blue. In a URL such as ?colour=red%20%26%20blue, the encoded ampersand stays inside the value instead of starting another query parameter.

Check the result

Encoding an entire https:// address also escapes its separators, so it will no longer behave like an ordinary navigable address. Percent-encoding is reversible and does not encrypt secrets or make an unsafe URL trustworthy.

Questions about this tool

Why did decoding report an error?

A stray percent sign, incomplete escape or invalid encoded byte sequence can fail decoding. Check that the input is the complete encoded component and has not been truncated.

Is + always a space?

No. Form encoding can use + for a space, while a literal plus in a normal component is meaningful text. Leave the option off unless you know the source uses form encoding.

Continue your workflow: JSON Formatter & Validator or Free QR Code Generator - Download PNG.

Need help or found an incorrect result? Report a tool issue. Read how files and text are handled.