Online Text Encoding Converter

Text Encoding Converter

About this tool

What this tool is good for

This tool converts string and byte data between UTF-8, UTF-16LE, UCS-2, Latin1, Base64, ASCII, Hex, and byte-array forms. It is useful when debugging encoding bugs, inspecting payloads, or preparing data for APIs and protocols.

Encoding notes

  • UTF-8 is the most common Unicode encoding used on the web.
  • UTF-16LE is the little-endian UTF-16 variant used by this tool, and UCS-2 is treated as its alias.
  • Latin1 supports only U+0000 to U+00FF and may truncate higher code points.
  • Base64 ignores non-Base64 separator characters such as spaces and line breaks when decoding.
  • Hex uses two hexadecimal characters per byte, and incomplete trailing data will be truncated.
  • Byte array output represents each byte as a decimal number from 0 to 255 separated by commas.

ASCII note

ASCII only applies to 7-bit ASCII data and is mainly useful for legacy compatibility. In most modern cases, UTF-8 is the better default choice.

Related tools

©2024-2026 QR9.NET All rights reserved. Contact:470589027@qq.com