Ad
8288727343719668

Loading ad...

Text Encoding Converter

Convert text to UTF-8, UTF-16, UTF-32, GBK, Unicode encodings

📖 Usage Guide

Click to view detailed usage

Expand

Text Encoding Converter

Overview

The text encoding converter transforms text into various encoding formats including UTF-8, UTF-16, UTF-32, GBK, and Unicode.

Main Features

Supported Encoding Formats

  • UTF-8: Variable-length encoding, 1-4 bytes, 1 byte for ASCII, 3 bytes for Chinese
  • UTF-16: Double-byte encoding, some rare characters use 4 bytes
  • UTF-32: Fixed 4-byte encoding
  • GBK: Extended GB2312, supports more Chinese characters
  • Unicode: Universal code with U+ prefix

Format Options

  • Uppercase Output: Hexadecimal letters in uppercase
  • Show Prefix: 0x or U+ prefix
  • Space Separator: Add spaces between bytes/characters

How to Use

  1. Enter or paste text in the left input box
  2. Select target encoding format
  3. Configure format options
  4. Click "Encode" button
  5. Copy and use the result

Example

Input:

中国ABC

UTF-8 Output:

0xE4 0xB8 0xAD 0xE5 0x9B 0xBD 0x41 0x42 0x43

UTF-16 Output:

0x4E 0x2D 0x56 0xFD 0x41 0x00 0x42 0x00 0x43 0x00

Unicode Output:

U+4E2D U+56FD U+0041 U+0042 U+0043
Ad
1278624333018761

Loading ad...