TXT · Text & Data tools

URL Encoder & Decoder

Target
Input
Output
EncodemodeBatchinput0items1output lines0output chars

Local encoding and decoding

Type or paste text into the input pane to instantly encode or decode it directly in your browser. Switch the tool between Encode and Decode depending on your need.

When encoding, choose Component mode to safely escape all reserved characters in a string (like ?, &, or /) before inserting it into a URL. Choose Full URL mode if your input is already a complete URL and you want to keep structural characters intact while encoding unsafe characters like spaces.

Batch processing

Enable Batch by newline to process lists of URLs, query values, or filenames all at once. The tool treats each line independently.

Use Trim lines to automatically remove leading and trailing whitespace from each line before processing. Blank lines are preserved so your output maps cleanly back to your input.

URL options

The tool includes fine-grained controls for different encoding standards:

  • Spaces as “+”: Converts %20 spaces into plus signs during encoding, a common requirement for application/x-www-form-urlencoded query strings.
  • Lowercase %hex: Normalizes percent escapes to lowercase (e.g., %2f instead of %2F).
  • “+” as space: Converts literal plus signs back into spaces before decoding, useful for reading query strings.

Frequently Asked Questions

It encodes readable text into URL-safe percent-encoded output and decodes percent-encoded URLs or components back into readable text. You can process a single value or many values line by line.

Component mode is best for individual URL parts such as query values, path segments, search terms, filenames, and redirect parameter values. Full URL mode is best when the input is already a complete URL because it keeps structural characters such as : / ? # & = intact.

Yes. Switch to Decode mode to turn percent-encoded text back into readable text. The decoder can also treat plus signs as spaces for query-string and form-style values.

Batch by newline treats each input line as a separate item. It is useful for encoding or decoding lists of URLs, query values, filenames, keywords, redirects, or log entries while preserving line alignment.

Spaces as + changes encoded spaces from %20 to plus signs, which is common in query strings and application/x-www-form-urlencoded data. Use it when the receiving system expects spaces to appear as +.

No.

Explore Our Tools

Browse all tools