Favorite places of your favorite city
Home
Add to preferred sources on Google

URL Encoder & Decoder

Convert one text value to or from UTF-8 percent encoding. Choose a URL component or a form value so that spaces, plus signs and punctuation follow the intended rules.

Input

Convert one value, not a whole URL or query string. Structural punctuation is encoded too.

Input is kept as entered; pasted line endings may already be normalized by your browser.

Input limit: 65,536 UTF-8 bytes.

Result

Enter a value and select Convert.

Local conversion

The tool processes this value in your browser without tool-added uploads or input history.

Copy and download occur only when requested. Other site services and consent settings remain separate.

Convert a component or form value

  1. Choose Encode for ordinary text or Decode for a percent-encoded value. Paste one value, not a complete query that needs to be split into names and values.
  2. Choose URL component to represent spaces as %20 and keep a literal plus when decoding. Choose Form value to write spaces as plus signs and read literal plus signs as spaces.
  3. Select Convert, check the complete result and its byte counts, then copy or download the text. Errors return no partial result; changing an input removes the old answer.

Percent encoding, UTF-8 and context

Percent encoding writes a byte as a percent sign followed by two hexadecimal digits. A letter can require several UTF-8 bytes: é becomes %C3%A9. This changes representation, not the language or meaning of the text.

Component mode leaves letters A–Z and a–z, digits, hyphen, period, underscore and tilde unchanged. Form mode also keeps an asterisk, encodes tilde and writes an ordinary space as a plus sign. A literal plus is encoded as %2B in either mode.

Decoding is a single strict pass. Lowercase hex is accepted, but every percent sign must start a complete escape and the resulting bytes must form valid UTF-8. Form parsers in other software may instead repair malformed input; rejection here does not certify that an entire URL is invalid.

Encoding accepts up to 65,536 UTF-8 input bytes. Decoding accepts up to 196,608 source bytes and returns at most 65,536 decoded bytes. These are byte limits, not character counts, so emoji and many non-Latin letters use more than one byte.

Small examples that reveal the difference

The text a b+c becomes a%20b%2Bc in component mode and a+b%2Bc in form mode. When decoding, %2B always produces a literal plus; only a plus already present in the form-mode source becomes a space.

The example café + tea/~* becomes caf%C3%A9%20%2B%20tea%2F~%2A as a component, or caf%C3%A9+%2B+tea%2F%7E* as a form value. Slash is encoded because the input is one value, not a whole path.

Decoding %2520 returns the text %20, not a space. Decoding A%0D%0AB returns A, a carriage return, a line feed and B. The preview may hide some control characters; the downloaded UTF-8 bytes preserve them.

What this conversion does not do

This is not a URL builder, validator, link opener or safety check. Encoding an entire address also encodes its colon, slashes, question mark and other structural punctuation. Decode output is displayed only as text, never opened or interpreted as HTML.

There is no legacy-charset detection, binary export, query parsing, line-by-line mode, Unicode normalization or automatic second decode. Empty input needs text, but spaces and line breaks are valid data. Malformed Unicode or invalid UTF-8 is rejected instead of replaced.

Textareas can normalize pasted line endings, and clipboard software can alter line endings or control characters. Download uses the logical result's UTF-8 bytes without an added newline or byte-order mark; an existing leading mark remains data.

Local conversion and explicit actions

The conversion runs in your browser without tool-added uploads, input history or input in page URLs. Copy writes the current text only when requested, and Download creates a local text file. Normal site services and consent settings remain separate.

URL encoding questions

It depends on context. This tool's component mode uses %20. Its form-value mode uses a plus, and only that mode treats a literal plus as a space during decoding. Follow the receiving application's documented convention.

The converter treats whatever you paste as one value. It does not preserve a URL's delimiters or split query parameters. Extract the component or value you intend to convert; use a URL builder or parser for a whole address.

The byte E9 alone is not valid UTF-8. This tool does not guess a legacy character set; the UTF-8 spelling of é is %C3%A9. Other software may apply a different charset or a repair policy.

One pass converts %25 to a percent sign and leaves the following 20 as text. Automatically decoding again could change the intended value, so this tool never repeats the operation.

No. It is reversible representation, not encryption, content filtering or URL validation. Treat an encoded secret with the same care as the original, and do not trust a decoded link just because conversion succeeded.

Well-formed Unicode is converted through UTF-8 without normalization. The model preserves decoded line breaks, NUL and an existing leading byte-order mark, even when the preview is not visibly different. Use Download rather than a clipboard claim when exact result bytes matter.

Sources

Reviewed 4 November 2026. These references describe the representations; strict error rejection is this tool's policy.

JSON to YAML

Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.

Open tool — JSON to YAML

YAML to JSON

Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.

Open tool — YAML to JSON

HTML to Markdown

Convert pasted or local HTML into Markdown, review conversion notes, and copy or download the result.

Open tool — HTML to Markdown

JavaScript Regex Tester

Test a JavaScript pattern locally and inspect matches, captures, and UTF-16 positions.

Open tool — JavaScript Regex Tester

Markdown to HTML

Convert a Markdown draft to an HTML fragment, inspect the source and inert preview, then copy or download it.

Open tool — Markdown to HTML

Text Sorter

Sort lines alphabetically by a chosen language or by Unicode code point, keeping duplicates, blank rows and complete line contents.

Open tool — Text Sorter

Remove Duplicate Lines

Keep the first copy of each exact text line, preserving order, significant spaces and blank rows, then copy or download the result.

Open tool — Remove Duplicate Lines

Text Diff Checker

Compare two drafts locally, with exact whole-line changes, visible whitespace rules and clear final-newline handling.

Open tool — Text Diff Checker

Text to Speech Reader

Listen to pasted text with a browser voice. Adjust speed, pitch and volume, and replay short segments. Network voices can send text to their service.

Open tool — Text to Speech Reader

Case Converter

Convert text to uppercase, lowercase, capitalized words or sentence case with explicit letter rules.

Open tool — Case Converter

HTML Entity Encoder/Decoder

Encode or decode literal HTML references with explicit context, Unicode options and LF output, without parsing or rendering markup.

Open tool — HTML Entity Encoder/Decoder

Markdown Table Generator

Edit a small literal-text table, set alignment and copy GFM Markdown or import tab-separated text.

Open tool — Markdown Table Generator

HTML Table Generator

Build a rectangular table with captions and headers, then copy HTML and CSS.

Open tool — HTML Table Generator

Query String Parser & Builder

Edit ordered URL parameters, retain repeated names and copy a normalized query or HTTP(S) URL.

Open tool — Query String Parser & Builder

Base64 Encoder & Decoder

Encode UTF-8 text as standard or URL-safe Base64, or decode either format with clear errors and complete text output.

Open tool — Base64 Encoder & Decoder

XML Formatter

Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.

Open tool — XML Formatter

JSON Formatter & Validator

Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.

Open tool — JSON Formatter & Validator

SMS Character Counter & Segment Calculator

See how your message is encoded, where its segments end and what it may cost. Your text stays in your browser.

Open tool — SMS Character Counter & Segment Calculator

Social Media Character Counter

Check platform-specific limits and split posts without losing text.

Open tool — Social Media Character Counter

Character Counter

Count characters, words, sentences and paragraphs. Check word density, reading time and UTF-8 size, all in your browser.

Open tool — Character Counter

Text Size Calculator

Compare text encodings and payload sizes in your browser.

Open tool — Text Size Calculator

PDF Text Cleaner

Fix line breaks and spacing in text copied from a PDF. Preserve your original and review ambiguous hyphens before copying the cleaned text.

Open tool — PDF Text Cleaner

Fancy Text Converter

Convert supported fancy Unicode letters to normal text locally. Keep case, accents, emoji and your original text.

Open tool — Fancy Text Converter

Garbled Text Fixer

Fix garbled text and repair broken accents with a browser-based mojibake fixer. Review each possible UTF-8 reversal before applying it.

Open tool — Garbled Text Fixer
View all tools in this category