HTML/URL encoder

eol > br
num > nbsp
all > nbsp

HTML encoded

Special characters like ←, <, † and é are 'escaped' in HTML: they are written in a different (longer) form -or encoded- so that they can be interpreted by browsers in the correct way. For an overview of all the special characters in HTML, see the HTML character map.

%E1%83%A7%E1%83%95%E1%83%94%E1%83%9A%E1%83%90 %E1%83%90%E1%83%93%E1%83%90%E1%83%9B%E1%83%98%E1%83%90%E1%83%9C%E1%83%98 %E1%83%93%E1%83%90%E1%83%98%E1%83%91%E1%83%90%E1%83%93%E1%83%90 %E1%83%97%E1%83%90%E1%83%95%E1%83%98%E1%83%A1%E1%83%A3%E1%83%A4%E1%83%90%E1%83%9A%E1%83%98 %E1%83%93%E1%83%90 %E1%83%97%E1%83%90%E1%83%9C%E1%83%90%E1%83%A1%E1%83%AC%E1%83%9D%E1%83%A0%E1%83%98 %E1%83%A6%E1%83%98%E1%83%A0%E1%83%A1%E1%83%94%E1%83%91%E1%83%98%E1%83%97%E1%83%90 %E1%83%93%E1%83%90 %E1%83%A3%E1%83%A4%E1%83%9A%E1%83%94%E1%83%91%E1%83%94%E1%83%91%E1%83%98%E1%83%97

For developers: PHP: htmlentities($text)Python: xml.sax.saxutils.escape(text)Ruby: coder.encode(string, :named)Perl: encode_entities($text)ASP: Server.HtmlEncode(Text)Java: escapeHtml4(Text)

URL encoded

Special characters like (, <, ' ' (space) and é are 'escaped' before passing as an URL parameter (what follows after the ? in an URL like search.php?text=risqu%C3%A9 ). For an overview of all the special characters in HTML, see the HTML character map.

%25E1%2583%25A7%25E1%2583%2595%25E1%2583%2594%25E1%2583%259A%25E1%2583%2590 %25E1%2583%2590%25E1%2583%2593%25E1%2583%2590%25E1%2583%259B%25E1%2583%2598%25E1%2583%2590%25E1%2583%259C%25E1%2583%2598 %25E1%2583%2593%25E1%2583%2590%25E1%2583%2598%25E1%2583%2591%25E1%2583%2590%25E1%2583%2593%25E1%2583%2590 %25E1%2583%2597%25E1%2583%2590%25E1%2583%2595%25E1%2583%2598%25E1%2583%25A1%25E1%2583%25A3%25E1%2583%25A4%25E1%2583%2590%25E1%2583%259A%25E1%2583%2598 %25E1%2583%2593%25E1%2583%2590 %25E1%2583%2597%25E1%2583%2590%25E1%2583%259C%25E1%2583%2590%25E1%2583%25A1%25E1%2583%25AC%25E1%2583%259D%25E1%2583%25A0%25E1%2583%2598 %25E1%2583%25A6%25E1%2583%2598%25E1%2583%25A0%25E1%2583%25A1%25E1%2583%2594%25E1%2583%2591%25E1%2583%2598%25E1%2583%2597%25E1%2583%2590 %25E1%2583%2593%25E1%2583%2590 %25E1%2583%25A3%25E1%2583%25A4%25E1%2583%259A%25E1%2583%2594%25E1%2583%2591%25E1%2583%2594%25E1%2583%2591%25E1%2583%2598%25E1%2583%2597

For developers: PHP: urlencode($text)Python: urllib.quote_plus(text)Ruby: CGI.escape(string)Perl: url_encode($text)ASP: Server.URLEncode(Text)Java: URLEncoder.encode(Text)

Examples