✦ A decade of Canvas craft, now driven by AI, describe it, watch it build live.Start building

URL Encoder / Decoder

The URL Encoder / Decoder is a free browser-based tool that converts plain text strings into percent-encoded URL format and decodes encoded URLs back to human-readable text. It supports both encodeURIComponent and encodeURI modes, making it useful for developers building query strings, API calls, redirect parameters, and form submissions. No libraries, no server requests, everything runs locally in your browser.

Configuration

Content

Design

12
6

Layout

How to Use

1. Paste or type your input text or encoded URL into the Input field and choose Encode or Decode mode. 2. Select the encoding function (encodeURIComponent for query parameters, encodeURI for full URLs) and toggle whether to handle plus signs as spaces. 3. Click the action button to see the result instantly in the Output panel below. 4. Click Copy Output to copy the result to your clipboard, ready to paste into your code, terminal, or browser.

Why Use This Tool?

Manually percent-encoding special characters like spaces, ampersands, and slashes is error-prone and slow, especially inside complex query strings or OAuth tokens. This tool handles the conversion instantly without any npm installs, browser extensions, or server round-trips. It also decodes encoded URLs back to readable form, which saves significant time when debugging redirect chains or third-party API responses.

Frequently Asked Questions

What is the URL Encoder / Decoder?
It is a free online tool that converts text to percent-encoded URL format or reverses the process, decoding encoded URLs back into plain readable strings. It runs entirely in your browser with no data sent to any server.
What is the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes nearly all special characters including slashes, colons, and question marks, making it ideal for encoding individual query parameter values. encodeURI leaves characters that are valid in a full URL (such as slashes, colons, and hash symbols) untouched, so it is better suited for encoding a complete URL while preserving its structure. For most query string and API work, encodeURIComponent is the correct choice.
Is it free?
Yes, the URL Encoder / Decoder is completely free with no signup required. Built by the CanvasBuilder.co team.