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.

๐Ÿ‘ฆ plays ๐Ÿช• for ๐Ÿ‘จ&zwj;๐Ÿ‘ฉ&zwj;๐Ÿ‘ง in ๐Ÿก

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.

%F0%9F%91%A6 plays %F0%9F%AA%95 for %F0%9F%91%A8%E2%80%8D%F0%9F%91%A9%E2%80%8D%F0%9F%91%A7 in %F0%9F%8F%A1

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