onlineunicodetools logo

Unicode data url encoder

World's simplest unicode tool

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.
announcement check out our new project!
We just created something new for all science fans โ€“ SCIURLS โ€“ a neat science news aggragator. Check it out!
fullscreen fullscreen_exit
Unicode Encoding
Convert Unicode text to data URL using this encoding.
To create a data URL, the input 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.
Output Option
Display the character set used for encoding the output data.
Unicode data url encoder tool What is a unicode data url encoder?
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".
Unicode data url encoder examples Click to use
Oscar Wilde Quote
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").
"๐™ป๐š’๐š๐šŽ ๐š’๐šœ ๐š๐š˜๐š˜ ๐š’๐š–๐š™๐š˜๐š›๐š๐šŠ๐š—๐š ๐š๐š˜ ๐š‹๐šŽ ๐š๐šŠ๐š”๐šŽ๐š— ๐šœ๐šŽ๐š›๐š’๐š˜๐šž๐šœ๐š•๐šข." โ€“ ๐™พ๐šœ๐šŒ๐šŠ๐š› ๐š†๐š’๐š•๐š๐šŽ
data:text/plain;charset=utf-8;base64,IvCdmbvwnZqS8J2aj/Cdmo4g8J2akvCdmpwg8J2anfCdmpjwnZqYIPCdmpLwnZqW8J2amfCdmpjwnZqb8J2anfCdmorwnZqX8J2anSDwnZqd8J2amCDwnZqL8J2ajiDwnZqd8J2aivCdmpTwnZqO8J2alyDwnZqc8J2ajvCdmpvwnZqS8J2amPCdmp7wnZqc8J2alfCdmqIuIiDigJMg8J2ZvvCdmpzwnZqM8J2aivCdmpsg8J2ahvCdmpLwnZqV8J2ajfCdmo4=
Required options
These options will be used automatically if you select this example.
Convert Unicode text to data URL using this encoding.
Display the character set used for encoding the output data.
Happy Birthday Banner
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".
โ™ชแƒฆโ™ช*โ€ข.ยธ.โ€ข*ยจยจ*โ€ข.ยธ.โ€ข*ยจยจ*โ€ข.โ™ชแƒฆโ™ช โ–‘Hโ–‘Aโ–‘Pโ–‘Pโ–‘Yโ–‘Bโ–‘Iโ–‘Rโ–‘Tโ–‘Hโ–‘Dโ–‘Aโ–‘Yโ–‘ โ™ชแƒฆโ™ช*โ€ข.ยธ.โ€ข*ยจยจ*โ€ข.ยธ.โ€ข*ยจยจ*โ€ข.โ™ชแƒฆโ™ช
data:text/plain;charset=utf-16le;base64,aibmEGomKgAiIC4AuAAuACIgKgCoAKgAKgAiIC4AuAAuACIgKgCoAKgAKgAiIC4AaibmEGomCgCRJUgAkSVBAJElUACRJVAAkSVZAJElQgCRJUkAkSVSAJElVACRJUgAkSVEAJElQQCRJVkAkSUKAGom5hBqJioAIiAuALgALgAiICoAqACoACoAIiAuALgALgAiICoAqACoACoAIiAuAGom5hBqJg==
Required options
These options will be used automatically if you select this example.
Convert Unicode text to data URL using this encoding.
Display the character set used for encoding the output data.
Technology Emojis
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).
๐Ÿ“ฑ โ€“ mobile phone ๐Ÿ“ท โ€“ camera ๐Ÿ“น โ€“ video camera ๐ŸŽง โ€“ headphone ๐Ÿ’ป โ€“ personal computer ๐ŸŽฎ โ€“ video game ๐ŸŽค โ€“ microphone
data:text/plain;base64,APH0AQAgAAAAEyAAACAAAABtAAAAbwAAAGIAAABpAAAAbAAAAGUAAAAgAAAAcAAAAGgAAABvAAAAbgAAAGUAAAAKAAAA9/QBACAAAAATIAAAIAAAAGMAAABhAAAAbQAAAGUAAAByAAAAYQAAAAoAAAD59AEAIAAAABMgAAAgAAAAdgAAAGkAAABkAAAAZQAAAG8AAAAgAAAAYwAAAGEAAABtAAAAZQAAAHIAAABhAAAACgAAAKfzAQAgAAAAEyAAACAAAABoAAAAZQAAAGEAAABkAAAAcAAAAGgAAABvAAAAbgAAAGUAAAAKAAAAu/QBACAAAAATIAAAIAAAAHAAAABlAAAAcgAAAHMAAABvAAAAbgAAAGEAAABsAAAAIAAAAGMAAABvAAAAbQAAAHAAAAB1AAAAdAAAAGUAAAByAAAACgAAAK7zAQAgAAAAEyAAACAAAAB2AAAAaQAAAGQAAABlAAAAbwAAACAAAABnAAAAYQAAAG0AAABlAAAACgAAAKTzAQAgAAAAEyAAACAAAABtAAAAaQAAAGMAAAByAAAAbwAAAHAAAABoAAAAbwAAAG4AAABlAAA=
Required options
These options will be used automatically if you select this example.
Convert Unicode text to data URL using this encoding.
Display the character set used for encoding the output data.
Pro tips Master online unicode tools
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!
https://onlineunicodetools.com/convert-unicode-to-data-url?input=%22%F0%9D%99%BB%F0%9D%9A%92%F0%9D%9A%8F%F0%9D%9A%8E%20%F0%9D%9A%92%F0%9D%9A%9C%20%F0%9D%9A%9D%F0%9D%9A%98%F0%9D%9A%98%20%F0%9D%9A%92%F0%9D%9A%96%F0%9D%9A%99%F0%9D%9A%98%F0%9D%9A%9B%F0%9D%9A%9D%F0%9D%9A%8A%F0%9D%9A%97%F0%9D%9A%9D%20%F0%9D%9A%9D%F0%9D%9A%98%20%F0%9D%9A%8B%F0%9D%9A%8E%20%F0%9D%9A%9D%F0%9D%9A%8A%F0%9D%9A%94%F0%9D%9A%8E%F0%9D%9A%97%20%F0%9D%9A%9C%F0%9D%9A%8E%F0%9D%9A%9B%F0%9D%9A%92%F0%9D%9A%98%F0%9D%9A%9E%F0%9D%9A%9C%F0%9D%9A%95%F0%9D%9A%A2.%22%20%E2%80%93%20%F0%9D%99%BE%F0%9D%9A%9C%F0%9D%9A%8C%F0%9D%9A%8A%F0%9D%9A%9B%20%F0%9D%9A%86%F0%9D%9A%92%F0%9D%9A%95%F0%9D%9A%8D%F0%9D%9A%8E&encoding=utf8&data-uri-charset=true
All unicode tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
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 Unicode numbers in various fonts.
Quickly convert ordinary letters to Unicode letters in various fonts.
Quickly convert ordinary text to fancy Unicode text.
Quickly combine input Unicode with diacritical marks.
Quickly circularly rearrange Unicode symbols.
Quickly URL-escape Unicode symbols.
Quickly encode Unicode data to HTML entities.
Quickly encode Unicode values to base64.
Quickly encode Unicode values to a data URI.
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 create a picture from Unicode emojis.
Release Zalgo on your Unicode text.
Coming soon These unicode tools are on the way
Name Unicode Symbols
Spell out the names of Unicode characters in the input text.
URL-decode Unicode
URL-unescape Unicode text.
Convert Binary to Unicode
Convert base-2 data to Unicode encoding.
Convert Octal to Unicode
Convert base-8 data to Unicode encoding.
Convert Decimal to Unicode
Convert base-10 data to Unicode encoding.
Convert Hex to Unicode
Convert base-16 data to Unicode encoding.
Convert Unicode to Any Base
Convert Unicode text to any radix.
Convert Any Base to Unicode
Convert any radix data to Unicode.
Convert Unicode to ASCII
Convert Unicode characters to ASCII characters.
Convert ASCII to Unicode
Convert ASCII characters to Unicode characters.
Convert Unicode to Latin1
Convert Unicode text to Latin1 encoding.
Convert Latin1 to Unicode
Convert Latin1 encoded data to Unicode.
Convert Unicode to Bytes
Convert Unicode characters to raw bytes.
Convert Bytes to Unicode
Convert raw bytes to Unicode.
Remove Combining Characters
Delete diacritical marks from Unicode data
Remove Zalgo from Unicode
Make Unicode Zalgo text readable again.
Validate Unicode
Check if the given Unicode has valid encoding.
Convert Unicode to Punycode
Encode Unicode text to Punycode encoding.
Convert Punycode to Unicode
Decode Punycode encoding to Unicode.
Decode Base64 to Unicode
Convert base64 data to Unicode text.
Encode Unicode to Data URI
Convert Unicode to a valid data URL.
Decode Data URI to Unicode
Convert a valid data URL to Unicode text.
Convert HTML to Unicode
Decode HTML entities to Unicode data.
Convert UTF8 to Unicode
Decode UTF8 encoding to Unicode.
Convert UTF16 to Unicode
Decode UTF16 encoding to Unicode.
Convert UTF32 to Unicode
Decode UTF32 encoding to Unicode.
Convert Unicode to Uppercase
Convert all Unicode characters to uppercase.
Convert Unicode to Lowercase
Convert all Unicode characters to lowercase.
Convert Unicode to Randomcase
Randomize case of all Unicode characters.
Convert Unicode to Lowercase
Convert all Unicode characters to lowercase.
JSON Stringify Unicode
Encode Unicode to JSON.
JSON Parse Unicode
Decode JSON to Unicode.
Shuffle Unicode Symbols
Randomly rearrange the order of input graphemes.
Analyze Unicode
Print statistics about Unicode data and code points, etc.