Byte array to string converter for decimal UTF-8 bytes. Paste comma-separated or whitespace-separated values and review the decoded text.
The Byte Array to String Converter decodes decimal byte values into text. Paste the numeric contents of a byte array, using commas or whitespace as separators, and review the decoded string.
For a Uint8Array source, copy the byte values rather than the surrounding declaration. The decoder uses TextDecoder to interpret UTF-8.
When you paste a string of byte values into the input area, the converter splits the input on commas (if any are present) or whitespace, parses each token as a base-10 integer, packs the resulting numbers into a Uint8Array, and decodes the array as UTF-8 via the browser's built-in TextDecoder. The output text appears in the second box as soon as you stop typing: there is no "Convert" button. Internally, the conversion is a one-line new TextDecoder().decode(new Uint8Array(bytes)) call, using standard JavaScript decoding APIs. The converter expects decimal byte values in the standard 0-255 range; values outside that range are silently truncated by the Uint8Array constructor (so 256 becomes 0, 257 becomes 1, and so on: standard JavaScript behavior).
Two separator modes: auto-detected. Use commas (72, 101, 108, 108, 111) or whitespace (72 101 108 108 111) interchangeably.
UTF-8 decoding: decodes multi-byte sequences for emoji, accented letters, and other text. Check that the input actually uses UTF-8.
Live updates: the output refreshes as you type; no "Convert" button to click.
Input separators: use a consistent comma-separated or whitespace-separated list and review the output.
Decoding implementation: uses native TextDecoder and Uint8Array. This implementation detail is not a confidentiality guarantee.
Instant feedback for invalid input: if the input cannot be parsed as a list of bytes, the output reads "Invalid byte input" instead of crashing.
Web interface: paste the values and review the decoded output on this page.
Copy your byte array. From your debugger, network capture, hex dump, log file, or programming-language source: check that the list contains decimal values in the 0-255 range.
Paste into the "Bytes" box. Use a consistent comma-separated or whitespace-separated list.
Read the decoded string in the "String" box. Output updates live as you type or paste.
Copy the result with your usual keyboard shortcut, or select & copy to paste into your editor, ticket, or chat.
If the result is unreadable, the bytes are likely not UTF-8: try a different decoder, check that the bytes are decimal (not hex or binary), and verify the byte order matches what your source produced.
Inspect a text payload from a debugger, a message queue, or a database export. Check a test fixture against the text you expected. When logs contain a Uint8Array dump, copy its numeric values rather than the full object representation.
When comparing code that uses byte[] with code that uses String, check both the byte values and the encoding.
The converter expects decimal byte values 0-255 separated by commas or whitespace. Many languages and tools format byte arrays differently: here's how to convert each into the format the tool expects:
JavaScript / TypeScript Uint8Array: new Uint8Array([72, 101, 108, 108, 111]): copy the contents of the array literal directly.
Python bytes literal: b"Hello": print as a list with list(b"Hello") to get [72, 101, 108, 108, 111].
Java / Kotlin byte[]: copy values from the debugger; in Java bytes are signed (-128 to 127), so convert negative values with & 0xFF before pasting (e.g. -61 & 0xFF = 195).
C# byte[]: copy from Console.WriteLine(string.Join(",", bytes)).
Hex dumps (48 65 6C 6C 6F): convert each hex pair to decimal first, or use the Tooloogle Hex to ASCII Converter for hex-encoded text.
Binary (01001000 01100101…): convert each 8-bit chunk to decimal first, or use the Tooloogle Binary to Text Converter for binary-encoded text.
UTF-8 is a variable-length character encoding: ASCII characters (codepoints 0-127) take a single byte; characters above 127 take 2, 3, or 4 bytes. The converter correctly reassembles multi-byte sequences. Examples:
72 → H (single ASCII byte).
195, 169 → é (two-byte sequence for U+00E9).
226, 130, 172 → € (three-byte sequence for U+20AC).
240, 159, 152, 138 → 😊 (four-byte sequence for U+1F60A, a smiling-face emoji).
If your bytes are not UTF-8 (for example UTF-16, Latin-1, or a proprietary encoding), the decoded output will contain replacement characters (�) or look like garbled text. Check the byte values and their encoding; either can explain unreadable output. Try a Latin-1 or UTF-16 decoder instead, or use the Tooloogle Hex to ASCII Converter / Bytes-to-String Converter combination as appropriate.
Check the source documentation, including an HTTP Content-Type header, before choosing a decoder. Decode only the bytes that belong to the text field, not length headers or unrelated binary data.
A UTF-8 byte order mark is 239, 187, 191. Keep a copy of the original bytes before removing prefixes or changing the input. A readable prefix does not prove that the whole payload uses the same encoding.
The conversion uses the browser's TextDecoder and Uint8Array APIs. Check your organization's handling requirements before entering confidential payloads into a web tool.
This tool uses TextDecoder for UTF-8 text. For hexadecimal or binary input, convert the values to decimal first or use a decoder for that representation. Check the source encoding if the result is unreadable.
How to Use Byte Array to String Converter - Decode UTF-8 Bytes
Copy the numeric byte values from the source. Remove surrounding declarations or brackets and check the 0-255 range.
Paste a comma-separated or whitespace-separated list into the Bytes input. Use a consistent separator.
Read the String output. If it looks wrong, check the encoding and confirm that the source values are decimal bytes before copying the text.
Byte array to string converter for decimal UTF-8 bytes. Paste comma-separated or whitespace-separated values and review the decoded text.
Tool Use:
6.1k+Added:
Jul 15, 2024Type:
Free ToolPrivacy:
Client SideEnter encoded image data and inspect the image before downloading it.
CSV to JSON converter for files and pasted data. Choose the delimiter, set header handling and type parsing, then copy or download the JSON.
JSON to CSV converter for spreadsheet exports. Convert an array of objects into rows and columns, then review and save the CSV output.
AES decryption for compatible encrypted text. Enter the ciphertext and matching secret key, then review the output. Use non-sensitive samples for testing.