URL Encoder

Encodes problematic characters into percent-encoding, a format supported by URIs/URLs.

Input: Text (UTF-8) or original file bytesResult: Text

Text input

Run to see the result

Examples

Encode bitcoin genesis newspaper headline

Input

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

The%20Times%2003%2FJan%2F2009%20Chancellor%20on%20brink%20of%20second%20bailout%20for%20banks
Encode all special chars
On
Encode a registry credential from kubernetes documentation

Input

tiger:pass1234

Expected answer

tiger%3Apass1234
Encode all special chars
On
Encode a checksum-sensitive log line with a final newline

Input

event=deploy status=ready

Expected answer

event%3Ddeploy%20status%3Dready%0A
Encode all special chars
On
Encode a french café in precomposed unicode

Input

café

Expected answer

caf%C3%A9
Encode all special chars
On
Encode a french café with a separate combining accent

Input

café

Expected answer

cafe%CC%81
Encode all special chars
On
Encode chinese text in a utf-8 request body

Input

你好,世界

Expected answer

%E4%BD%A0%E5%A5%BD%EF%BC%8C%E4%B8%96%E7%95%8C
Encode all special chars
On
Encode a literal plus and space inside a url parameter

Input

release notes+A/B?

Expected answer

release%20notes%2BA%2FB%3F
Encode all special chars
On
URLEncode: encodes UTF-8 text as UTF-8 bytes

Input

你好

Expected answer

%E4%BD%A0%E5%A5%BD
Encode all special chars
Off
URLEncode: preserves raw bytes from From Hex

Input

f8036be075f4fc6252054f33.bin

82 bytes

Download

Expected answer

legitfile%80%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%90thiswassuposedtobeanexploit
Encode all special chars
Off
URLEncode: spaces with special chars

Input

Hello world!

Expected answer

Hello%20world%21
Encode all special chars
On

e.g. = becomes %3d

Format reference: URL Encode background and specification

Related tools

Browse data format tools