URL Encoder, Percent-Encode Text & URLs Online
Type or paste text and watch it turn into correct percent-encoding as you go. Switch between component mode for query-string values and full-URL mode that keeps:/?#& intact, encode a whole list line-by-line, and copy the result in a click. Unicode-safe and 100% in your browser: nothing is ever uploaded.
What is the url encoder?
The URL Encoder percent-encodes text and links as you type, with a component mode for query-string values and a full-URL mode that keeps:/?#& structure intact. Encode a whole list line-by-line and copy the result in a click. Unicode-safe, free and 100% in-browser. Nothing is ever uploaded.
The GigAI URL Encoder converts text to percent-encoding the instant you type. There is no 'Encode' button to reach for. It exposes the two encoders the web platform actually uses, because they are not interchangeable: component mode (encodeURIComponent) escapes reserved characters like & = ? / # and space so a value is safe to drop into a single query parameter or path segment, while full-URL mode (encodeURI) leaves those structural characters alone so an already-assembled address stays a valid, clickable link. Both are Unicode-correct, emoji, accents, curly quotes and CJK are encoded through UTF-8 into their proper %E2%9C%93-style byte sequences rather than being mangled or dropped. Turn on batch mode to encode a whole newline-separated list at once, one encoded line out for each line in, which is ideal for building UTM values, escaping a column of search terms or preparing bulk redirect targets. Copy, download, share a reopenable link, and undo/redo are all one shortcut away, and every keystroke stays on your device. No request is ever made.
- Difficulty:
- Easy
- Typical time:
- ~15s
- Processing:
- 100% browser processing
Last updated
How to use the url encoder
- 1
Pick your encoding mode
Choose Component to escape a single value (query parameter or path segment) or Full URL to encode an assembled address while keeping its structure intact.
- 2
Type, paste or import
Enter text directly, paste with Ctrl/Cmd+V, or drop a text file onto the workspace. The percent-encoded output updates live beside your input.
- 3
Turn on batch mode if needed
Enable batch to treat each line separately. Every input line is encoded independently and returned on its own line, preserving order.
- 4
Copy, download or share
Copy the result with one click, download it as a .txt file, or generate a shareable link that reopens the tool with your exact input.
What URL Encoder includes
Live, instant encoding
The percent-encoded output appears in the same keystroke you type. No button to press, no reload. Edit the input and the result rewrites itself immediately.
Component vs full-URL mode
Choose encodeURIComponent to escape reserved characters for a query value or path segment, or encodeURI to keep :/?#& intact so an assembled URL stays valid. The difference is one clearly-labelled toggle.
Unicode-safe by default
Text is encoded through UTF-8, so emoji, accents, smart quotes and CJK become correct %XX byte sequences instead of being stripped or corrupted: exactly what a server will decode back.
Batch (per-line) mode
Flip on batch mode to encode a newline-separated list in one pass, one encoded line out per line in. Perfect for UTM values, bulk redirects or a column of search terms.
100% private, in-browser
Encoding uses the browser's native encodeURIComponent / encodeURI. Nothing is uploaded, stored or logged, your URLs and query values never leave the tab.
Keyboard-first workflow
Copy, download, share, undo and redo are all one shortcut away with an on-screen cheat sheet, so you touch the mouse less than with any other encoder.
Why use our url encoder
The right encoder, every time
Encoding a value and encoding a whole URL are different jobs: using the wrong one double-escapes an ampersand or breaks a link. Both modes sit side by side so you always pick correctly.
Output that round-trips exactly
Because everything goes through UTF-8, what you encode here decodes back byte-for-byte on the server or in the sibling decoder. No dropped characters, no mojibake.
Bulk work without a spreadsheet
Batch mode turns a list into an encoded list in one go, so preparing dozens of query values or redirect targets takes seconds instead of manual, error-prone escaping.
Free, unlimited, no account
Encode as much as you like with no sign-up, quota or watermark. Everything is client-side, so there is no server cost to pass on to you.
Built for the way you work
From quick one-off fixes to daily workflows, see how people put this tool to use.
- Web developer
Build safe query strings
Encode a search term, filter value or redirect target in component mode before concatenating it into a URL, so an & or space in the value can't break the query string.
- Marketer & analyst
Prepare UTM and tracking links
Batch-encode a column of campaign names or landing-page paths so every UTM parameter is properly escaped and your links resolve and track correctly.
- API engineer
Escape path and header values
Percent-encode an identifier, filename or token that goes into a REST path or Location header while testing an endpoint in curl or Postman.
- QA & support
Reproduce and inspect encoded links
Encode a value the way the app does to reproduce a bug, then hand the string to the URL decoder to confirm exactly what the server will receive.
Supported formats
Accepts Text, URL, Newline-separated list and TXT file, and produces Percent-encoded text, Encoded URL and Encoded list, all processed locally in your browser.
- Text
- URL
- Newline-separated list
- TXT file
- Percent-encoded text
- Encoded URL
- Encoded list
Frequently asked questions
Recommended tools
URL Decoder
Decode percent-encoded (URL-encoded) text back to plain, readable characters, and when you paste a full link, see it broken down into protocol, host, port, path, decoded query parameters and hash. 100% in-browser. Nothing is uploaded.
Base64 Encoder
Encode text or any file to Base64 instantly: Unicode-safe, with a URL-safe toggle and one-click data URLs. Runs entirely in your browser, nothing uploaded.
JWT Decoder
Decode and inspect any JSON Web Token instantly. Read the header, payload and signature, see when it was issued and expires, and optionally verify an HS256 signature. 100% in-browser. Your token never leaves your device.
JSON Formatter
Format, validate and minify JSON in your browser with pinpoint error line + column, jump-to-error, key sorting and live editing: nothing is uploaded.
Barcode Generator
Generate scannable 1D barcodes (CODE128, EAN-13, UPC-A, CODE39, ITF-14, MSI, pharmacode and Codabar) live in your browser, with per-format validation and PNG or SVG export. Nothing is uploaded.
Base64 Decoder
Decode Base64 back to text or a file instantly: Unicode-safe, auto-detects URL-safe input, sniffs binary data and offers a download. Runs fully in your browser, nothing uploaded.
Common problems, solved
Hit a snag? Here are quick fixes for the issues people run into most.
My whole URL got escaped and the :// and ? are now %3A etc.
You encoded a full address in Component mode, which escapes reserved characters. Switch to Full URL mode (encodeURI) to encode an already-assembled URL while leaving its structure intact.
An & or = in my value was left unescaped.
Full URL mode preserves reserved characters on purpose. To escape a single query value or path segment, use Component mode (encodeURIComponent), which escapes & = ? / # and space.
My batch output has a blank line where I had an empty line.
That's expected, batch mode preserves line count and order, so an empty input line encodes to an empty output line. Remove blank lines from the input if you don't want them in the result.
My text looks double-encoded (%2520 instead of %20).
Your input was already percent-encoded before you pasted it, so encoding it again escaped the % signs. Decode it once with the URL decoder first, then encode the original text.
Get the most out of it
Use Component mode for anything that goes inside a single query value or path segment, and Full URL mode only for an address you've already assembled.
Space becomes %20 in both modes here. If you specifically need the form-style + for a query, replace spaces after encoding.
Turn on batch mode to encode a whole list at once: one encoded line out per input line, in order.
Press Ctrl/Cmd+Enter to force a re-run, and use the Share button to send a teammate a link that reopens with your input.
If a value looks double-encoded, decode it once first with the sibling URL Decoder, then encode the clean original.
What's new
Recent updates and improvements to the url encoder.
Launched the URL Encoder with live encoding, component vs full-URL modes, Unicode-safe UTF-8 output, copy/download/share and keyboard shortcuts.
Added batch (per-line) mode to encode newline-separated lists in one pass while preserving order and line count.
Added an inline reserved-character legend and a one-click link to the sibling URL Decoder for round-trip checks.
Keep exploring
Problems we solve
Definitions
From the blog
- URL Encoding Explained: When and Why to Percent-Encode
- Base64 Encoding Explained: What It Is and When to Use It
- How to Find Exposed API Keys in Your Code (Before Someone Else Does)
- No AI Inside: How Our Regex Generator Actually Works
- How to Generate TypeScript Types from JSON (API Responses Made Type-Safe)
Explore categories
Common tasks
Your privacy is built in
Every character is percent-encoded locally in your browser using the platform's own encodeURIComponent and encodeURI functions. Your text, URLs and query values are never uploaded, stored, logged or shared, nothing leaves your device, and closing the tab discards it all.
- Runs in your browser
- No uploads
- Nothing stored
Ready to try the url encoder?
Free, private and instant. URL Encoder runs right in your browser.