Convert input text to a specified encoding format, and supports exporting the encoded text as a TXT file. All processing is local in your browser — no server upload.

Features
- Multi-encoding support.
- 8 mainstream encodings: UTF-8 (no BOM/with BOM), GBK, GB18030, GB2312, ISO-8859-1, UTF-16LE, Big5.
- One-click encoding: Click to convert text to the selected encoding format.
- Real-time preview: Display the encoded text in the result area immediately.
Use Cases
- File encoding conversion: Convert text files to a specific encoding format.
- Cross-platform compatibility: Process files that require a specific encoding format.
- Chinese document processing: Create Chinese documents with GBK or GB2312 encoding.
How to Use
- Enter or paste the text to be encoded in the input box.
- Select the target encoding format from the "Encoding" dropdown (UTF-8, GBK, GB2312, etc.).
- Click "One-Click Encode" — the system converts the text to the selected encoding format.
- The result area displays the encoded text.
- Click "Copy Content" to copy the encoded text, or click "Download File" to export as TXT.
Notes
- Character limit: Max 10,000 characters per processing session — process in batches if exceeded.
- Encoding selection: Different encoding formats support different character ranges — choose the appropriate encoding as needed.
- BOM impact: UTF-8 with BOM may display abnormally in some editors; for web development, UTF-8 without BOM is recommended.
Related Keywords
Text Encoding, Online Text Encoding, textencode, Sanye Hub, Online Tools, TXT, UTF, GBK, GB2312, GB18030