← All tools
%
Developer TOOL

URL Encoder

Make text URL-safe or decode percent-encoded strings instantly.

Developer tool guide

Encode or decode percent-encoded URL components

Turn text into a percent-encoded URL component with the browser’s standard encodeURIComponent function, or decode an encoded component back to readable text.

This is useful for query values, path segments and test data. Because the tool treats the complete input as one component, reserved separators such as slashes and question marks are encoded too.

How to use URL Encoder

  1. Paste a value.Enter plain text to encode or a percent-encoded component to decode.
  2. Choose Encode or Decode.Encode escapes characters for use as one URL component; Decode reverses valid escapes.
  3. Review the result.The converted value appears in the result area; malformed escapes display an error.
  4. Copy the output.Copy the final component into your application or test.

Practical ways to use this developer tool

Prepare a query value

Encode spaces, punctuation and Unicode before inserting a value into a URL.

Decode a logged parameter

Turn percent escapes back into readable text while debugging.

Test an integration

Compare encoded inputs expected by a form or API.

Handle Unicode text

Represent accented and non-Latin characters safely inside a URL component.

Behavior, privacy and limitations

  • Component encoding: the tool encodes one component, not an entire URL.
  • Reserved separators: characters such as /, ?, & and = are encoded when they appear in the input.
  • Valid escapes required: decoding malformed percent sequences produces an error.
  • Private processing: the value is transformed locally without being sent to Toolyma.

Frequently asked questions

Does this encode a complete URL?

It uses component encoding, so pasting a complete URL will also encode its separators.

How are spaces encoded?

encodeURIComponent represents spaces as %20, not as a plus sign.

Can it decode Unicode characters?

Yes, when the input contains valid percent-encoded UTF-8 text.

Why does decoding fail?

A percent sign may not be followed by a valid two-digit hexadecimal escape.

Is the value uploaded?

No. Encoding and decoding run in your browser.