OneDevTools
All Tools33
Formatter & ValidatorMinifier
Base64 Encoder/DecoderURL Encoder/Decoder
Case ConverterWord CounterLorem Ipsum
UUID GeneratorHash GeneratorTailwind Theme
Unix TimestampNumber Base
Password Generator
CSS MinifierCode to ImageVim Cheat SheetLinux Cheat Sheet
Merge PDFSplit PDFImages to PDFPDF to ImagesRotate PDFPDF Metadata
CSV to JSONJSON to CSVCSV to SQLCSV to MarkdownDuplicate RemoverColumn SplitterEmail ValidatorPrompt RunnerTranslatorBulk Content Generator
Home33 tools
  1. Home
  2. Encoding
  3. URL Encoder

URL Encoder / Decoder

Encode or decode URLs and query string parameters using percent-encoding (RFC 3986).

What is URL Encoding?

URL encoding (also known as percent-encoding) converts characters that are not allowed in URLs into a format that can be transmitted over the internet. Special characters are replaced with a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code. For example, a space becomes %20.

How to Use

  1. 1.Choose Encode to convert a URL/text to percent-encoded format, or Decode to reverse it.
  2. 2.Paste your URL or query string into the left box.
  3. 3.The result appears instantly in the right box.
  4. 4.Use Swap to flip input and output.

Common Use Cases

Query String Parameters

Encoding search queries and filter values in API request URLs.

Form Data Submission

HTML forms encode data as application/x-www-form-urlencoded before sending.

Bookmark & Share URLs

Safely encode URLs with special characters for sharing in emails or messages.

API Development

Building REST API clients that pass complex data in URL parameters.

FAQ

What's the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL (preserving :, /, ?, #, etc.) while encodeURIComponent encodes a URL component (parameter value), encoding those characters too. This tool uses encodeURIComponent.

Why is space encoded as %20 or +?

In query strings, spaces can be represented as either %20 (standard percent-encoding) or + (form encoding). This tool uses %20 (encodeURIComponent standard).

Is this tool safe to use with passwords?

Yes — all processing happens in your browser. Nothing is sent to our servers.

Related Tools

Base64 Encoder/DecoderJSON FormatterHash Generator
OneDevTools

30+ free developer tools. JSON, CSV, PDF, encoding, generators and more. All run locally in your browser — your data never leaves your device.

100% client-side · No sign-up

Popular

  • JSON Formatter
  • Base64 Encoder
  • UUID Generator
  • Password Generator
  • Merge PDF
  • CSV to JSON
  • Case Converter
  • Hash Generator

More Tools

  • JSON Minifier
  • URL Encoder
  • Word Counter
  • Lorem Ipsum
  • Unix Timestamp
  • Number Base
  • CSS Minifier
  • Code to Image
  • Vim Cheat Sheet
  • Linux Cheat Sheet

PDF & CSV

  • Split PDF
  • Images to PDF
  • PDF to Images
  • Rotate PDF
  • PDF Metadata
  • CSV to SQL
  • CSV to Markdown
  • CSV Email Validator

AI Tools

  • CSV Prompt Runner
  • CSV Translator
  • Bulk Content Generator
  • Tailwind Theme Generator

Browse

  • All Tools
  • JSON Tools
  • PDF Tools
  • CSV Tools

© 2026 OneDevTools. All rights reserved.

Built for developers · Privacy-first · No tracking