← All Base64 tools
LOCAL CONVERSION · ENCODING

Character Encoding Detection

Inspect Base64 bytes for byte-order marks and plausible text encodings; results may be uncertain. Processed in your browser.

Base64 text bytesText and encoding evidence

Detection is a hint, not certainty. Compare the evidence with the source system or choose its declared encoding.

0 UTF-16 code units
Maximum pasted length: 24 MiB characters. Decoded files: 16 MiB. Oversized input is rejected when run.

Text and encoding evidence

Run your source or load the labelled sample to explore the output. Input stays on this device.

How to use Character Encoding Detection

  1. Paste the source value into the input field.
  2. Run the tool and review its result or validation message.
  3. Download the complete result, or copy text output. Clear removes the result and releases its download.

Does this upload my data?

No. This tool runs in a browser worker. Input is not stored or sent to a server.

Does Base64 change a file format?

No. Encoding and decoding preserve bytes. A format-specific tool checks the signature, but does not transcode or guarantee that a file is intact. Some media may not play in your browser; the download still preserves the bytes. SVG and HTML are never rendered here.

Encoding detection is a best-effort hint. Several encodings can describe the same bytes; use the source system's declared encoding when available.

Related tools

About Character Encoding Detection

Text is stored as bytes, and the same bytes can mean different characters in UTF-8, Windows-1252, Shift_JIS, GB18030 and other encodings. This tool decodes Base64 and inspects the bytes for byte-order marks and patterns that suggest a likely encoding, or decodes with an encoding you choose.

Detection is a best-effort hint. Several encodings can describe the same bytes, so use the source system’s declared encoding when you know it.

Good for

  • Fixing garbled characters in imported CSV files.
  • Reading legacy text from older Windows or Japanese systems.
  • Checking what encoding an API really returns.

Questions

What is a byte-order mark?

A few bytes at the start of a file that announce UTF-8 or UTF-16. When present, they identify the encoding reliably.

Why are there several possible answers?

Short or plain-English text is valid in many encodings, so the bytes alone cannot decide.