URL Encode and Decode

Character Count: 0 | Word Count: 0 | Sentence Count: 0 | Line Count: 0

What this page covers

URL encoding (percent-encoding) replaces reserved and non-ASCII characters with `%` hex sequences so URLs and query parameters parse correctly.

Quick answer

Encode or decode URL components and query strings. Free URL encoder for fixing broken links and special characters. Free in your browser on Case Modify—no… Use it in a browser with no account required, then review the output before publishing or shipping.

URL encode and decode: percent-encoding for query strings and paths

URL encoding (percent-encoding) replaces reserved and non-ASCII characters with `%` hex sequences so URLs and query parameters parse correctly. Decoding reverses the process when you inherit an over-encoded link from analytics or a legacy CMS.

Use encode before building query strings manually; use decode when reading logged URLs or debugging redirect chains.

How to use this converter

  1. Paste the text or full URL fragment to encode or decode.
  2. Choose Encode for spaces, `&`, `=`, Unicode, and symbols—or Decode to read percent sequences.
  3. Copy the result into your router, fetch call, or documentation.

Component encoding vs full URI encoding

`) must stay unescaped in specific positions. This tool applies standard encodeURIComponent-style rules to the pasted text—if you encode a full URL, reserved characters in the scheme and path may be encoded too. q=` links.

Plus signs, spaces, and form data

HTML form submissions historically used `+` for spaces in `application/x-www-form-urlencoded` bodies. URLs in the address bar use `%20`. If decode output shows unexpected `+`, check whether the source was form-encoded rather than URI-encoded.

Slugs, analytics, and SEO

Marketing URLs with UTM parameters should encode campaign names with spaces or special characters. For public slugs, prefer kebab-case lowercase paths instead of percent-encoded phrases—use the kebab-case converter when naming new routes.

Before and after examples

OriginalConvertedNotes
hello worldhello%20worldSpace in query value
caf%C3%A9caféUTF-8 decode

Frequently asked questions

Should I encode the entire URL?

Usually encode only parameter values. Encoding `https://` breaks the scheme unless you intend to wrap the whole string.

Why is `%20` different from `+`?

Both can represent spaces in different contexts. URI query strings in browsers typically use `%20`.

Does encoding improve SEO?

Readable lowercase slugs beat encoded phrases. Encode only when characters are not URL-safe.

Related guides

How to use this tool

  1. Paste the text or full URL fragment to encode or decode.
  2. Choose Encode for spaces, `&`, `=`, Unicode, and symbols—or Decode to read percent sequences.
  3. Copy the result into your router, fetch call, or documentation.

Base64 Encode & Decode — Encode strings to Base64 or decode Base64 payloads back to plain text—ideal for JWT segments, API testing, and quick debugging.

Slug Generator — Paste a headline, get a clean slug for blogs and SEO.

Frequently asked questions

Should I encode the entire URL?

Usually encode only parameter values. Encoding `https://` breaks the scheme unless you intend to wrap the whole string.

Why is `%20` different from `+`?

Both can represent spaces in different contexts. URI query strings in browsers typically use `%20`.

Does encoding improve SEO?

Readable lowercase slugs beat encoded phrases. Encode only when characters are not URL-safe.

Examples

BeforeAfterNotes
hello worldhello%20worldSpace in query value
caf%C3%A9caféUTF-8 decode

Base64 Encode & Decode: Encode strings to Base64 or decode Base64 payloads back to plain text—ideal for JWT segments, API testing, and quick debugging.

UTF-8 Encoder/Decoder: See UTF-8 byte sequences or recover text from encoded data.

UTM Builder: Add utm_source, utm_medium, utm_campaign to any base URL.

Slugify URL Generator: Paste a headline, get a clean slug for blogs and SEO.

Explore Case Modify

Case Modify publishes free browser-based text converters, code formatters, encoders, random generators, and unit calculators. Each page runs locally after load unless a tool page states otherwise.

  • Case convertersTitle case, sentence case, uppercase, lowercase, camelCase, PascalCase, snake_case, and kebab-case tools.
  • Code & DataJSON, HTML, CSS, JavaScript, XML, YAML, Markdown, GraphQL, TypeScript, and SCSS formatters.
  • JSON toolsFormat, minify, escape, stringify, and edit JSON in the browser.
  • Text toolsFind and replace, duplicate line removal, sorting, encoding, and cleanup utilities.
  • ConvertersLength, weight, temperature, time, volume, area, energy, and related conversion calculators.
  • Font stylesBold, italic, bubble, aesthetic, and platform-specific Unicode text generators.
  • Random generatorsRandom numbers, letters, passwords, UUIDs, dates, and related generators.
  • BlogGuides on title case, camelCase, JSON formatting, and developer naming conventions.

Machine-readable summaries: llms.txt, llms-full.txt, agents.txt.