String & Bytes Converter
Convert strings to bytes and bytes to strings online with UTF-8, UTF-16, Hex, Base64, \x escapes, and decimal byte arrays.
Enter a string or byte content to inspect UTF-8 bytes, Hex, Base64, \x escapes, decimal arrays, and decoded text.
Useful for API debugging, signature checks, encoding issues, protocol fields, and byte length inspection. Processing happens locally in your browser.
Enter a normal string, choose an encoding, and generate byte representations.
The right side shows text output, byte stats, and common byte formats you can copy.
Enter content to see common byte formats here.
Common use cases
- Use it when debugging APIs, signatures, or protocol payloads and you need UTF-8 bytes, Hex, Base64, or byte arrays from a string.
- It is useful when logs or tools give you Hex, \x escapes, decimal byte arrays, or Base64 and you want readable text back.
- When checking how many bytes Chinese characters, emoji, line breaks, or invisible characters occupy, this page shows the difference directly.