Skip to developer tool
DEVELOPER TOOLKIT APIS & WEB

URL Encoder & Decoder

Choose the encoding rules for the data you actually have. A whole URL, one query value and form-encoded text need different treatment of reserved characters and spaces.

Browser-based · No account required · Copy and export

BUILT FOR THE DETAILS
  1. 01Add your input
  2. 02Inspect & adjust
  3. 03Use your result
Browse developer tools

URL Encoding Workbench

Private in-browser conversion · no destination requests or automatic saving

Local only

Paste or import UTF-8 TXT (2 MB maximum)
No current result

Exports contain the exact input and output text; review for tokens or private query parameters before sharing.

Try:
Inspect percent bytes and UTF-8

Examine source input escapes without executing, opening or fetching any URLs.

Advanced: ordered query-pair editor

Edit one query key/value while keeping all other original pairs and the fragment byte-for-byte. Edited values use form query serialization; this is not an arbitrary URL normalizer.

Parse a query to inspect its ordered pairs.

How to use URL Encoder & Decoder V2

  1. Paste text and select encode or decode.
  2. Choose component, whole URI or form-value scope. Enable one value per line for a batch of independent values.
  3. Convert and inspect the result. Use Reverse result to take the converted text as new input and invert the mode once; Use output as input retains the mode, so it can intentionally encode or decode another layer. Download TXT or structured CSV/JSON only when the result is current.

When to use this tool

Encode a query value or decode form data without confusing plus signs with literal spaces. Select component, whole-URI or form mode to match the destination format.

A plus sign is not always a space

Component encoding escapes reserved separators that belong to the value. Whole-URI encoding preserves URL syntax separators. Form encoding represents a space as + and a literal plus as %2B. Decoding a component does not replace + with a space; form decoding does.

Worked example

Input: a+b c
Component encoding: a%2Bb%20c
Form encoding: a%2Bb+c
Form decoding restores a+b c.

Encode a query value without encoding its surrounding URL

Expected encoding of the authored value red & blue
ScopeExpected result
URL componentred%20%26%20blue
Form valuered+%26+blue
  1. Supply the value alone when encoding one query parameter. Choose component or form scope according to the receiving format.
  2. Decode with the same context. In form values, plus signs can represent spaces; ordinary component decoding does not apply that convention.
  3. If the whole URL is itself nested inside another parameter, component encoding may be appropriate for that entire nested value. It is different from rebuilding a normal navigable URL.
  4. Use line-by-line mode only for independent values. Leave it off when a newline belongs inside one value; batch output uses LF separators.
  5. Review errors and output before copying. A malformed batch clears output, so do not reuse a previous success as if it described the failing input.

Calculated examples, not new conversion outputs or destination checks. No URL is fetched. Use URL Parser & Query Builder to edit ordered parameter pairs in a complete address.

Text, batch and export limits

This transforms strings rather than checking a destination or fetching a URL. Strict decoding rejects malformed percent escapes and invalid UTF-8. Batch mode handles every line independently, retaining blank rows and producing LF separators; leave it off when a newline belongs inside one value. Input is limited to 2 MB or 2 million UTF-16 units, and line mode supports 10,000 rows. The form serializer may replace a lone UTF-16 surrogate; component and whole-URI encoding reject that input instead.

Inspect escapes and edit query parameters

Open the inspector to see percent-encoded byte groups and a UTF-8 reading. The optional ordered query-pair editor retains duplicates, blank keys, missing equals signs and fragments; it changes only a selected pair, which it re-encodes using form query rules. Unedited raw pairs retain their original spelling. A valid escape does not guarantee a valid, safe or reachable URL.

Reference: URI component encoding.

Frequently asked questions

Should I encode a complete URL as a component?

Only when the whole URL is itself a value inside another context. Use whole URI scope when preserving its separators.

Why did + stay a plus?

Component and URI decoding do not use the form convention. Select form-value scope if + represents a space.

What happens to an invalid batch line?

The entire conversion fails, identifies the affected line and blocks copying/downloading the previous result until the input is corrected and converted again.

Does this check a URL or its security?

No. Encoding, decoding and query inspection run locally, never contact the destination, and cannot establish whether a URL is reachable, safe, indexed or owned by someone trustworthy.

What does a round-trip check prove?

It checks encoding or decoding consistency within the selected context, not that a web destination works. Decoded escapes may re-encode with a different but equivalent spelling.

Choose the encoding context first

Select component, whole-URI or form-value scope before converting. Use batch mode only when each line is a separate value.

Scope of this workflow

Plus signs have different meanings in form values and ordinary URI decoding. This transforms strings without fetching or checking the destination.

URL Parser & Query Builder - Edit Parameters · All developer tools · Privacy policy · Contact PixelOkay