🌐
Online Tools
onlinetools.com › utf8 › convert-bytes-to-utf8
Convert Bytes to UTF8 – Online UTF8 Tools
Check it out! World's simplest browser-based bytes to UTF8 string converter. Just import your raw bytes in the editor on the left and you will instantly get a UTF8 representation of these bytes on the right.
🌐
PlanetCalc
planetcalc.com › 9029
Online calculator: String to UTF-8
The calculator converts an input string to UTF-8 encoded byte array. The array can be displayed in hexadecimal, binary or decimal form.
🌐
Browserling
browserling.com › tools › utf8-encode
UTF-8 Encode - Convert Text to UTF-8 - Online - Browserling Web Developer Tools
World's simplest online UTF8 encoder for web developers and programmers. Just paste your text in the form below, press the UTF8 Encode button, and you'll get UTF8-encoded data. Press a button – get UTF8. No ads, nonsense, or garbage.
People also ask

What is the difference between UTF-8 encode and UTF-8 decode?
Encoding converts a human-readable string into raw bytes. Decoding reverses the process — it takes a byte sequence and reconstructs the original string. Testsigma provides a dedicated UTF-8 Decoder for the reverse operation.
🌐
testsigma.com
testsigma.com › home › free tools › utf-8 encoder
UTF-8 Encoder Tool – Free Online Byte Converter - Testsigma
What does "UTF-8 encode" mean?
UTF-8 encoding is the process of converting a text string (composed of Unicode characters) into a sequence of bytes following the UTF-8 specification. Each character is mapped to one, two, three, or four bytes depending on its Unicode code point. The resulting byte sequence can be stored, transmitted over a network, or embedded in a binary format.
🌐
testsigma.com
testsigma.com › home › free tools › utf-8 encoder
UTF-8 Encoder Tool – Free Online Byte Converter - Testsigma
Which programming languages support UTF-8 encoding natively?
UTF-8 encoding is built into virtually every modern language. JavaScript uses TextEncoder, Python uses str.encode("utf-8"), Java uses StandardCharsets.UTF_8, C# uses Encoding.UTF8.GetBytes(), and PHP uses mb_convert_encoding().
🌐
testsigma.com
testsigma.com › home › free tools › utf-8 encoder
UTF-8 Encoder Tool – Free Online Byte Converter - Testsigma
🌐
Online String Tools
onlinestringtools.com › convert-bytes-to-string
Convert Bytes to a String – Online String Tools
Free online bytes to a string converter. Just load your byte array in the input area and it will automatically get converted to a string. There are no intrusive ads, popups or nonsense, just a neat converter. Load bytes – get a string.
🌐
PlanetCalc
planetcalc.com › 9033
Online calculator: UTF-8 encoded string
The calculator converts an input string to a UTF-8 encoded binary/decimal/hexadecimal dump and vice versa.
🌐
Online Tools
onlinetools.com › utf8 › convert-binary-to-utf8
Convert Binary Bits to UTF8 – Online UTF8 Tools
This example decodes a bunch of 7-bit bytes to viewable UTF8 symbols. It works because there's a space between each of bytes so they can easily be separated by the decoder. ... ?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://onlinetools.com/utf8/convert-binary-to-utf8
🌐
Hixie
software.hixie.ch › utilities › cgi › unicode-decoder › utf8-decoder
utf8-decoder
A hex dump. Bytes are extracted two characters at a time, with all whitespace ignored, e.g.
🌐
Testsigma
testsigma.com › home › free tools › utf-8 encoder
UTF-8 Encoder Tool – Free Online Byte Converter - Testsigma
Testsigma's UTF-8 Encoder converts any text string into its raw UTF-8 byte representation using the browser-native TextEncoder.encode() method, which returns a Uint8Array of UTF-8 bytes directly.
Find elsewhere
🌐
Online Tools
onlinetools.com › binary › convert-binary-to-utf8
Convert Binary to UTF8 – Online Binary Tools
Free online binary to UTF8 converter. Just load your binary numbers and they will automatically get converted to UTF8 characters. There are no ads, popups or nonsense, just an awesome binary digits to UTF8 symbols converter. Load binary, get UTF8.
🌐
CodeShack
codeshack.io › home › tools › utf-8 encoder
UTF-8 Encoder - Convert Text to UTF-8 Bytes (Hex, Binary, Decimal)
Type some text and this tool reveals the exact byte sequence, in hexadecimal, binary or decimal, that a computer would save to disk or send over the network.
🌐
Unicodeconvert
unicodeconvert.com › utf8
Online UTF-8 Unicode Converter
Encode text to UTF-8 hex bytes and decode hex back to text.
🌐
Code Beautify
codebeautify.org › utf8-converter
UTF 8 Converter Online tool to encode UTF8 text
This tool supports loading the data File to transform to UTF8 Text. Click on the Upload button and select File. UTF8 Converter Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.
🌐
University of Edinburgh
cogsci.ed.ac.uk › ~richard › utf-8.html
UTF-8 Tool
Spaces are ignored in the input of bytes as Latin-1 characters, to make it easier to cut-and-paste from dump output.
🌐
CodeShack
codeshack.io › home › tools › utf-8 decoder
UTF-8 Decoder - Convert UTF-8 Bytes (Hex, Binary, Decimal) to Text
Paste the byte values, tell the tool what base they're in, and the readable text appears instantly on the right.
Top answer
1 of 16
1821
string result = System.Text.Encoding.UTF8.GetString(byteArray);

or one of the overload if you know the length:

string result = System.Text.Encoding.UTF8.GetString(byteArray, 0, 42);
2 of 16
395

There're at least four different ways doing this conversion.

  1. Encoding's GetString
    , but you won't be able to get the original bytes back if those bytes have non-ASCII characters.

  2. BitConverter.ToString
    The output is a "-" delimited string, but there's no .NET built-in method to convert the string back to byte array.

  3. Convert.ToBase64String
    You can easily convert the output string back to byte array by using Convert.FromBase64String.
    Note: The output string could contain '+', '/' and '='. If you want to use the string in a URL, you need to explicitly encode it.

  4. HttpServerUtility.UrlTokenEncode
    You can easily convert the output string back to byte array by using HttpServerUtility.UrlTokenDecode. The output string is already URL friendly! The downside is it needs System.Web assembly if your project is not a web project.

A full example:

byte[] bytes = { 130, 200, 234, 23 }; // A byte array contains non-ASCII (or non-readable) characters

string s1 = Encoding.UTF8.GetString(bytes); // ���
byte[] decBytes1 = Encoding.UTF8.GetBytes(s1);  // decBytes1.Length == 10 !!
// decBytes1 not same as bytes
// Using UTF-8 or other Encoding object will get similar results

string s2 = BitConverter.ToString(bytes);   // 82-C8-EA-17
String[] tempAry = s2.Split('-');
byte[] decBytes2 = new byte[tempAry.Length];
for (int i = 0; i < tempAry.Length; i++)
    decBytes2[i] = Convert.ToByte(tempAry[i], 16);
// decBytes2 same as bytes

string s3 = Convert.ToBase64String(bytes);  // gsjqFw==
byte[] decByte3 = Convert.FromBase64String(s3);
// decByte3 same as bytes

string s4 = HttpServerUtility.UrlTokenEncode(bytes);    // gsjqFw2
byte[] decBytes4 = HttpServerUtility.UrlTokenDecode(s4);
// decBytes4 same as bytes
🌐
Mother Eff
mothereff.in › utf-8
UTF-8 encoder/decoder
This tool uses utf8.js to UTF-8-encode any string you enter in the ‘decoded’ field, or to decode any UTF-8-encoded string you enter in the ‘encoded’ field.