Convert Unicode to UTF-8
文章推薦指數: 80 %
This browser-based utility converts your Unicode text to UTF-8 encoding. UTF stands for Unicode Transformation Format and it's the most popular Unicode encoding ... Unicodetoutf-8converter World'ssimplestunicodetool ThisonlineutilityencodesUnicodedatatoUTF-8encoding.AnythingthatyoupasteorenterintheinputareaautomaticallygetsconvertedtoUTF-8andisprintedintheoutputarea.ItsupportsallUnicodesymbolsanditworkswithemojicharacters.Youcanchoosebinary,octal,decimal,orhexadecimaloutputbaseforUTF-8bytesorsetanarbitrarybase.Youcanalsoadjustthedelimiterbetweenthebytesandaddabyteprefix.CreatedbyencodinggurusfromteamBrowserling. announcement anewproject! Superexcitingnews!WejustlaunchedTECHURLS–simpleandfuntechnewsreader.Checkitout! Alinktothistool,includinginput,optionsandallchainedtools. unicode Importfromfile Saveas... Copytoclipboard Download ExporttoPastebin utf-8 Can'tconvert. Anerrorhasoccured. Chainwith... Removechain Saveas... Copytoclipboard Download ExporttoPastebin Removenotools? Thistoolcannotbechained. Unicodetoutf-8converteroptions UTF-8Base Binary Octal Decimal Hexadecimal UseaCustomBase Base ConvertUnicodesymbols toUTF-8inthisbase. Base(2-36) Enterthecustombasehere. (Possiblevaluesfrom2to36.) ByteDelimiter Delimiter Setthebytedelimiter characterhere. ByteFormat AddaPrefix Useprefix"0b"forbinary,prefix"o"for octal,andprefix"0x"forhexvalues. AddPadding Addzeropaddingtosmallvalues tomakethemallthesamelength. Unicodetoutf-8convertertool Whatisaunicodetoutf-8converter? Thisbrowser-basedutilityconvertsyourUnicodetexttoUTF-8encoding.UTFstandsforUnicodeTransformationFormatandit'sthemostpopularUnicodeencodingintheworld.Thenumber"8"inUTF-8meansthat8-bitnumbers(single-bytenumbers)areusedintheencoding.ToconvertyourinputtoUTF-8,thistoolsplitstheinputdataintoindividualgraphemes(letters,numbers,emojis,andspecialUnicodesymbols),thenitextractscodepointsofallgraphemes,andthenturnsthemintoUTF-8bytevaluesinthespecifiedbase.UTF-8usesthefollowingrulestoencodethedata.Ifthecodepointvalueislessthan128,thenit'sthesamevalueisusedastheoutputbytevalue.Ifthecodepointisgreaterthan127,thenit'sturnedintoasequenceoftwo,three,orfourbytes,whereeachbyteofthesequenceisbetween128and255.YoucaneasilyswitchbetweenthefourmostpopularbasesfortheUTF-8bytes.Namely,youcanchoosetooutputUTF-8asbinary,octal,decimal,orhexadecimalnumbers.Ifyouneedanyotherbase,thenyoucanselectthe"CustomBase"optionandspecifytherequiredbasevalueinthefieldbelowit.Thisutilitysupportsbasesupto36.IfyouneedtooutputUTF-8inbase-64,thenuseourUnicodetobase-64converter.Youcanalsoadjustthedelimiterthat'susedbetweenthebytesintheoutputdata.Bydefault,it'sthespacecharacterbutyoucansetittoanyothersymbol.Therearetwomoreusefulfeaturesthatwehaveadded.Oneofthemletsyouimprovetheappearanceofbytesbypaddingshortvalueswithzerostoachieveafullbytelength.Binaryvaluesgetpaddedtoeightbits,octalvaluestothreesymbols,andhexvaluestotwosymbols.Theotheroptionletsyouaddaprefixinfrontofbytes.Inbinary,theprefix"0b"isadded,inoctal,theprefix"o"isadded,andinhexadecimal,theprefix"0x"isadded. Unicodetoutf-8converterexamples Clicktouse NapoleonBonaparte'sQuote ThisexampleconvertsaNapoleonBonaparte'squotetoUTF8bytesinradixof8(octal).Thequoteiswritteninbold-italicUnicodelettersandtheoutputisUTF8encodingoftheseletters.Itusesaspacecharacterbetweentheoctetsandaddszerosinfrontofsmallerbytessothattheyareall3characterslong. 𝑰𝒎𝒂𝒈𝒊𝒏𝒂𝒕𝒊𝒐𝒏𝒓𝒖𝒍𝒆𝒔𝒕𝒉𝒆𝒘𝒐𝒓𝒍𝒅. 360235221260360235222216360235222202360235222210360235222212360235222217360235222202360235222225360235222212360235222220360235222217040360235222223360235222226360235222215360235222206360235222224040360235222225360235222211360235222206040360235222230360235222220360235222223360235222215360235222205056 Requiredoptions Theseoptionswillbeusedautomaticallyifyouselectthisexample. Binary Octal Decimal Hexadecimal UseaCustomBase Base ConvertUnicodesymbols toUTF-8inthisbase. Delimiter Setthebytedelimiter characterhere. AddaPrefix Useprefix"0b"forbinary,prefix"o"for octal,andprefix"0x"forhexvalues. AddPadding Addzeropaddingtosmallvalues tomakethemallthesamelength. SpecialUnicodeSymbols Inthisexample,weconvertfourinterestingUnicodecharacterstoUTF8-encodedbinarybytes.Weaddaprefix"0b"infrontofthebinaryvaluestomakeitunambiguousthatthebaseisbinaryandpadsomeofthemwithzerostoachievethelengthof8characters. ☘✯☏☂ 0b11100010,0b10011000,0b10011000,0b00100000,0b11100010,0b10011100,0b10101111,0b00100000,0b11100010,0b10011000,0b10001111,0b00100000,0b11100010,0b10011000,0b10000010 Requiredoptions Theseoptionswillbeusedautomaticallyifyouselectthisexample. Binary Octal Decimal Hexadecimal UseaCustomBase Base ConvertUnicodesymbols toUTF-8inthisbase. Delimiter Setthebytedelimiter characterhere. AddaPrefix Useprefix"0b"forbinary,prefix"o"for octal,andprefix"0x"forhexvalues. AddPadding Addzeropaddingtosmallvalues tomakethemallthesamelength. BakeryEmojisinBase-21 Inthisexample,weselectacustombasefromtheoutputbasedropdownandenterthevalue21inthecustombasefield.WethenloadalistofUnicodebakeryproductsemojiastheinputandUTF-8encodethem.Wealsouseadashsymboltoseparatebase-21outputbytes. 🍞Bread 🥐Croissant 🥖BaguetteBread 🥨Pretzel 🥯Bagel b9-7c-6f-7b-1b-33-59-4h-4d-4g-a-b9-7c-7i-6i-1b-34-59-56-50-5a-5a-4d-55-5b-a-b9-7c-7i-73-1b-33-4d-4j-5c-4h-5b-5b-4h-1b-33-59-4h-4d-4g-a-b9-7c-7i-80-1b-3h-59-4h-5b-5h-4h-53-a-b9-7c-7i-87-1b-33-4d-4j-4h-53 Requiredoptions Theseoptionswillbeusedautomaticallyifyouselectthisexample. Binary Octal Decimal Hexadecimal UseaCustomBase Base ConvertUnicodesymbols toUTF-8inthisbase. Base(2-36) Enterthecustombasehere. (Possiblevaluesfrom2to36.) Delimiter Setthebytedelimiter characterhere. AddaPrefix Useprefix"0b"forbinary,prefix"o"for octal,andprefix"0x"forhexvalues. AddPadding Addzeropaddingtosmallvalues tomakethemallthesamelength. Protips Masteronlineunicodetools Youcanpassinputtothistoolvia?inputqueryargumentanditwillautomaticallycomputeoutput.Here'showtotypeitinyourbrowser'saddressbar.Clicktotry! https://onlineunicodetools.com/convert-unicode-to-utf8?input=%F0%9D%91%B0%F0%9D%92%8E%F0%9D%92%82%F0%9D%92%88%F0%9D%92%8A%F0%9D%92%8F%F0%9D%92%82%F0%9D%92%95%F0%9D%92%8A%F0%9D%92%90%F0%9D%92%8F%20%F0%9D%92%93%F0%9D%92%96%F0%9D%92%8D%F0%9D%92%86%F0%9D%92%94%20%F0%9D%92%95%F0%9D%92%89%F0%9D%92%86%20%F0%9D%92%98%F0%9D%92%90%F0%9D%92%93%F0%9D%92%8D%F0%9D%92%85.&separator=%20&base=octal&padding=true&prefix=false Allunicodetools Didn'tfindthetoolyouwerelookingfor?Letusknowwhattoolwearemissingandwe'llbuildit! ConvertUnicodetoCodePoints QuicklyfindcodepositionsofallUnicodevalues. ConvertCodePointstoUnicode QuicklydecodecodepositionstoUnicodevalues. ConvertUnicodetoUTF-8 QuicklyencodeUnicodevaluestoUTF-8encoding. ConvertUnicodetoUTF-16 QuicklyencodeUnicodevaluestoUTF-16encoding. ConvertUnicodetoUTF-32 QuicklyencodeUnicodevaluestoUTF-32encoding. ConvertUnicodetoanImage QuicklycreateapicturefromUnicodesymbols. GenerateRandomUnicode QuicklygeneraterandomUnicodetextinagivenrange. GenerateUnicodeRange QuicklygenerateallUnicodevaluesfromthegivencodepointinterval. ExtractUnicodeRange QuicklyfilterUnicodesymbolsthatarewithinthegivencodepointinterval. ExtractGraphemes QuicklysplitUnicodedataintographemes. SortGraphemes QuicklysortUnicodeglyphsinincreasingordecreasingorder. CountUnicodeCharacters QuicklyfindthelengthofUnicodetext. IncrementUnicodeValues QuicklyincreaseUnicodecodepointvalues. DecrementUnicodeValues QuicklydecreaseUnicodecodepointvalues. ReverseUnicode QuicklyreversetheorderofsymbolsinUnicodetext. RotateUnicodeText QuicklyrotateUnicodecharacterstotheleftandright. RepeatUnicode QuicklycreatemultiplecopiesofUnicodetext. SplitUnicodeIntoCharacters QuicklyextractallcharactersfromUnicodetext. SplitUnicodeIntoFragments QuicklysplitUnicodedataintopieces. ChunkifyUnicode QuicklysplitUnicodetextintochunksofconstantlength. JoinUnicode QuicklymergeUnicodesnippetstogether. TruncateUnicode QuicklyshortenUnicodetexttothegivenlength. Left-padUnicode Quicklyleft-padUnicodetextwithanycharacter. Right-padUnicode Quicklyright-padUnicodetextwithanycharacter. CenterUnicode QuicklyalignUnicodedatatothecenter. Right-alignUnicode QuicklyalignUnicodedatatotheright. GenerateUnicodeNumbers QuicklyconvertordinarynumberstofancyUnicodenumbers. NormalizeUnicodeNumbers QuicklyconvertUnicodenumbersbacktoregularnumbers. GenerateUnicodeLetters QuicklyconvertordinaryletterstoUnicodelettersinvariousfonts. NormalizeUnicodeLetters QuicklyconvertUnicodelettersbacktoregularLatinletters. GenerateUnicodeText QuicklyconvertordinarytexttofancyUnicodetext. NormalizeUnicodeText QuicklyconvertfancyUnicodetextbacktoregulartext. AddCombiningCharacters QuicklycombineinputUnicodewithdiacriticalmarks. RemoveCombiningCharacters QuicklydeletediacriticalmarksfromtheUnicodetext. SpoofUnicodeText QuicklyspoofregulartextusingUnicodehomoglyphs. CyclicallyShiftUnicode QuicklycircularlyrearrangeUnicodesymbols. EscapeUnicode QuicklyconvertUnicodedatatoescapesequences. ConvertUnicodetoHTML QuicklyencodeUnicodedatatoHTMLentities. URL-encodeUnicode QuicklyURL-escapeUnicodesymbols. ConvertUnicodetoBase64 QuicklyencodeUnicodevaluestobase64. ConvertUnicodetoaDataURL QuicklyencodeUnicodevaluestoadataURI. ConvertUnicodetoBytes QuicklyconvertUnicodecharacterstorawbytes. ConvertUnicodetoBinary QuicklyconvertUnicodedatatobase-2(binary). ConvertUnicodetoOctal QuicklyconvertUnicodedatatobase-8(octal). ConvertUnicodetoDecimal QuicklyconvertUnicodedatatobase-10(decimal). ConvertUnicodetoHex QuicklyconvertUnicodedatatobase-16(hexadecimal). ConvertUnicodetoASCII QuicklyconvertUnicodesymbolstorawASCIIbytes. ConvertASCIItoUnicode QuicklyconvertASCIIbytestoUnicodesymbols. ConvertUnicodetoaStringLiteral QuicklyconvertUnicodetexttoastringliteral. ConvertEmojitoanImage QuicklycreateapicturefromUnicodeemojis. LetZalgoDestroyUnicode QuicklyreleaseZalgoonyourUnicodetext. RemoveZalgofromUnicode QuicklymakeZalgotextreadableagain. Comingsoon Theseunicodetoolsareontheway NameUnicodeSymbols SpelloutthenamesofUnicodecharactersintheinputtext. URL-decodeUnicode URL-unescapeUnicodetext. ConvertBinarytoUnicode Convertbase-2datatoUnicodeencoding. ConvertOctaltoUnicode Convertbase-8datatoUnicodeencoding. ConvertDecimaltoUnicode Convertbase-10datatoUnicodeencoding. ConvertHextoUnicode Convertbase-16datatoUnicodeencoding. ConvertUnicodetoAnyBase ConvertUnicodetexttoanyradix. ConvertAnyBasetoUnicode ConvertanyradixdatatoUnicode. ConvertUnicodetoLatin1 ConvertUnicodetexttoISO-8859-1encoding. ConvertLatin1toUnicode ConvertISO-859-1encodeddatatoUnicode. ConvertUnicodetoLatin2 ConvertUnicodetexttoISO-8859-2encoding. ConvertLatin2toUnicode ConvertISO-8859-2encodeddatatoUnicode. ConvertBytestoUnicode ConvertrawbytestoUnicode. CheckUnicodeVersion ChecktheUnicodeversionofthegivenUnicodecharacters. ValidateUnicode CheckifthegivenUnicodehasvalidencoding. ConvertUnicodetoPunycode EncodeUnicodetexttoPunycodeencoding. ConvertPunycodetoUnicode DecodePunycodeencodingtoUnicode. DecodeBase64toUnicode Convertbase64datatoUnicodetext. EncodeUnicodetoDataURI ConvertUnicodetoavaliddataURL. DecodeDataURItoUnicode ConvertavaliddataURLtoUnicodetext. ConvertHTMLtoUnicode DecodeHTMLentitiestoUnicodedata. ConvertUTF8toUnicode DecodeUTF8encodingtoUnicode. ConvertUTF16toUnicode DecodeUTF16encodingtoUnicode. ConvertUTF32toUnicode DecodeUTF32encodingtoUnicode. ConvertUnicodetoUppercase ConvertallUnicodecharacterstouppercase. ConvertUnicodetoLowercase ConvertallUnicodecharacterstolowercase. PrintAllUnicodeFlags Generatealistofallcountryflagicons. PrintAllUnicodeArrows GeneratealistofallUnicodearrows. PrintAllUnicodeAnimals GeneratealistofallUnicodeanimals. PrintAllUnicodeBlocks GeneratealistofallUnicodeblockelements. GenerateaUnicodeRainbow UseUnicodecolorstogeneratearainbow. GenerateaLennyFace CreateasmileyfacefromUnicodesymbols. GenerateRandomEmoji Generatealistofrandomemojis. ConvertUnicodetoRandomcase RandomizecaseofallUnicodecharacters. ConvertUnicodetoLowercase ConvertallUnicodecharacterstolowercase. JSONStringifyUnicode EncodeUnicodetoJSON. JSONParseUnicode DecodeJSONtoUnicode. ShuffleUnicodeSymbols Randomlyrearrangetheorderofinputgraphemes. ConvertUnicodetoAltCode GenerateAltcodesforUnicodecharacters. ConvertAltCodetoUnicode GenerateUnicodeglyphsfromAltcodes. AnalyzeUnicode PrintstatisticsaboutUnicodedataandcodepoints. SliceUnicode ExtractapartfromUnicodedata. DrawUnicodeWaves GeneratewaveswithUnicodesymbols. DrawUnicodeSparklines GenerategraphsusingUnicodesymbols. Subscribe! Nevermissanupdate Subscribe Cool! Notifications We'llletyouknowwhenweaddthistool Notifyme! Nevermind Cool!
延伸文章資訊
- 1Unicode 與UTF-8 的關係?. Unicode… | by Roy Kwok - Medium
Unicode (中文稱:萬國碼)給每個字元提供了一個唯一的數位,不論是什麼平臺、不論是什麼程式、不論是什麼語言。 簡而之,Unicode是字符集,將所有的文字,符號等等編碼。
- 2Convert Unicode to UTF-8
This browser-based utility converts your Unicode text to UTF-8 encoding. UTF stands for Unicode T...
- 3UTF8和unicode的轉換@新精讚
常聽到的unicode, utf8, ascii 又是什麼?utf8和unicode之間的關係及如何轉換?
- 4UTF-8 - 维基百科,自由的百科全书
UTF-8(8-bit Unicode Transformation Format)是一種針對Unicode的可變長度字元編碼,也是一种前缀码。它可以用一至四个字节对Unicode字符集中的所有...
- 5Unicode、UTF-8、UTF-16,終於懂了 - 閱坊
UTF-8 的編碼規則: 對於單字節的符號,字節的第一位設爲 0,後面7 位爲這個符號的Unicode 碼。因此 ...