This browser-based utility converts Unicode text to a data URL. Anything that you paste or enter in the text area on the left automatically gets encoded to a data URL on the right. It supports the most popular Unicode encodings (such as UTF-8, UTF-16, UCS-2, UTF-32, and UCS-4) and it works with emoji characters. You can also customize the data URL output format by adding the charset (media type) parameter. Created by encoding gurus from team Browserling.
This utility encodes your Unicode characters, numbers, letters, emojis, and other symbols to data URLs (or data URIs). A data URL (data URI) is a scheme defined by RFC 2397 standard that allows you to include small data elements in a URL string. Data URLs are constituted of four parts – a scheme (currently always "data:"), a MIME/media type indicating the data type, an optional base64 extension, and the data itself. When converting Unicode to a data URI, you can switch between five output encodings, namely, UTF8, UTF16, UTF32, UCS2, and UCS4, and for the last four multi-byte encodings, choose the Big Endian or Little Endian byte order formats. Also, we have an extra option that adds the charset parameter to the output data URI. This parameter specifies the encoding of the base64-encoded data. For UTF-8, it's "charset=utf-8", for UTF-16 Big Endian, it's "charset=utf-16be", for UTF-16 Little Endian, it's "charset=utf-16le", for UTF-32 Big Endian, it's "charset=utf-32be", for UTF-32 Little Endian, it's "charset=utf-32le", for UCS-2 Big Endian, it's "iso-10646-ucs-2be", for UCS-2 Little Endian, it's "iso-10646-ucs-2le", for UCS-4 Big Endian, it's "iso-10646-ucs-4be", and for UCS-4 Little Endian, it's "iso-10646-ucs-4le".
In this example, we convert an Oscar Wilde quote written in Unicode letters to a data URL. We use a UTF8 encoding and display the character set of the media type (which is "encoding=utf-8").
This example encodes a Happy Birthday wish that's constructed using various special Unicode characters into a UTF16 Little Endian data URI. The MIME type for this data URI is "text/plain" and the encoding media type "encoding=utf-16le".
In this example, we have selected the UCS4 Big Endian encoding for the output and convert a list of Unicode technology emoji to the base64 data URL encoding, without printing the charset (which is UCS-4 Bit Endian).
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
Quickly find code positions of all Unicode values.
Quickly decode code positions to Unicode values.
Quickly encode Unicode values to UTF-8 encoding.
Quickly encode Unicode values to UTF-16 encoding.
Quickly encode Unicode values to UTF-32 encoding.
Quickly create a picture from Unicode symbols.
Quickly generate random Unicode text in a given range.
Quickly generate all Unicode values from the given code point interval.
Quickly filter Unicode symbols that are within the given code point interval.
Quickly split Unicode data into graphemes.
Quickly sort Unicode glyphs in increasing or decreasing order.
Quickly find the length of Unicode text.
Quickly increase Unicode code point values.
Quickly decrease Unicode code point values.
Quickly reverse the order of symbols in Unicode text.
Quickly rotate Unicode characters to the left and right.
Quickly create multiple copies of Unicode text.
Quickly extract all characters from Unicode text.
Quickly split Unicode data into pieces.
Quickly split Unicode text into chunks of constant length.
Quickly merge Unicode snippets together.
Quickly shorten Unicode text to the given length.
Quickly left-pad Unicode text with any character.
Quickly right-pad Unicode text with any character.
Quickly align Unicode data to the center.
Quickly align Unicode data to the right.
Quickly convert ordinary numbers to fancy Unicode numbers.
Quickly convert Unicode numbers back to regular numbers.
Quickly convert ordinary letters to Unicode letters in various fonts.
Quickly convert Unicode letters back to regular Latin letters.
Quickly convert ordinary text to fancy Unicode text.
Quickly convert fancy Unicode text back to regular text.
Quickly combine input Unicode with diacritical marks.
Quickly delete diacritical marks from the Unicode text.
Quickly spoof regular text using Unicode homoglyphs.
Quickly unspoof homoglyphs in text with regular letters.
Quickly check if the given Unicode text is spoofed or not.
Quickly circularly rearrange Unicode symbols.
Quickly convert Unicode data to escape sequences.
Quickly encode Unicode data to HTML entities.
Quickly URL-escape Unicode symbols.
Quickly encode Unicode values to base64.
Quickly encode Unicode values to a data URI.
Quickly convert Unicode characters to raw bytes.
Quickly convert Unicode data to base-2 (binary).
Quickly convert Unicode data to base-8 (octal).
Quickly convert Unicode data to base-10 (decimal).
Quickly convert Unicode data to base-16 (hexadecimal).
Quickly convert Unicode symbols to raw ASCII bytes.
Quickly convert ASCII bytes to Unicode symbols.
Quickly convert Unicode text to a string literal.
Quickly create a picture from Unicode emojis.
Quickly release Zalgo on your Unicode text.
Quickly make Zalgo text readable again.
View and edit Unicode in a browser-based editor.
Spell out the names of Unicode characters in the input text.
URL-unescape Unicode text.
Convert base-2 data to Unicode encoding.
Convert base-8 data to Unicode encoding.
Convert base-10 data to Unicode encoding.
Convert base-16 data to Unicode encoding.
Convert Unicode text to any radix.
Convert any radix data to Unicode.
Convert Unicode text to ISO-8859-1 encoding.
Convert ISO-859-1 encoded data to Unicode.
Convert Unicode text to ISO-8859-2 encoding.
Convert ISO-8859-2 encoded data to Unicode.
Convert Unicode text to Ecoji encoding.
Convert Ecoji encoded data to Unicode.
Convert raw bytes to Unicode.
Check the Unicode version of the given Unicode characters.
Check if the given Unicode has valid encoding.
Encode Unicode text to Punycode encoding.
Decode Punycode encoding to Unicode.
Convert base64 data to Unicode text.
Convert Unicode to a valid data URL.
Convert a valid data URL to Unicode text.
Decode HTML entities to Unicode data.
Decode UTF8 encoding to Unicode.
Decode UTF16 encoding to Unicode.
Decode UTF32 encoding to Unicode.
Convert all Unicode characters to uppercase.
Convert all Unicode characters to lowercase.
Generate a list of all country flag icons.
Generate a list of all Unicode arrows.
Generate a list of all Unicode animals.
Generate a list of all Unicode flowers and plants.
Generate a list of all Unicode block elements.
Generate a list of all Egyptian hieroglyphs.
Generate a list of all currency symbols.
Use Unicode colors to generate a rainbow.
Create a smiley face from Unicode symbols.
Generate a list of random emojis.
Randomize case of all Unicode characters.
Convert all Unicode characters to lowercase.
Encode Unicode to JSON.
Decode JSON to Unicode.
Randomly rearrange the order of input graphemes.
Generate Alt codes for Unicode characters.
Generate Unicode glyphs from Alt codes.
Print statistics about Unicode data and code points.
Extract a part from Unicode data.
Generate waves with Unicode symbols.
Generate graphs using Unicode symbols.
Wrap a message in a Unicode box.
Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.
Enter your email here
string is first decoded to code
point values. Then these values
are encoded to the selected
encoding. After this, the raw
bytes of the encoded data are
encoded one more time to
the base-64.