Pictures, PDFs and files

Text file to UTF-8

Read UTF-8, GB18030 or UTF-16 text file and export UTF-8.

Loading a local file tool…

Text file to UTF-8 User manual

  1. Fill in the parameters or select the file according to the form, and check the unit and format first.
  2. Save the GBK-compatible text file to UTF-8 after decoding it according to GB18030.
  3. Click the processing button to view the results, you can copy or download and save.

Calculation method and processing rules

Strictly decode according to the source code selected manually, and then encode it as UTF-8, you can choose to add BOM.

scope of use

Do not automatically guess the coding, do not deal with word, excel, pdf; the maximum is 8MB, the encoding error may be reported wrong or garbled.

Why do you have to choose source code yourself?

The automatic guessing encoding may interpret the legal byte as an incorrect text, so the tool requires manually specifying and reporting an error to the illegal byte. When the preview still looks incorrect, please switch to the actual encoding of the file; Word, Excel and PDF are not plain text.

Will the input content be saved on the server?

This tool handles input in the browser, and does not upload files or form content. Typing practice scores are only saved in the native browser.

Why may the result be different from other tools?

Do not automatically guess the coding, do not deal with word, excel, pdf; the maximum is 8MB, the encoding error may be reported wrong or garbled. Please compare the input unit, rounding method, applicable rules and data version first.