BOM Detector and Remover
Identify UTF-8, UTF-16 or UTF-32 marks from a file prefix. Compare overlapping signatures and download a copy with the selected bytes removed.
Choose the Right Byte-Order Mark
The prefix is checked as bytes. The export preserves every byte after the selected mark.
BOM Detector and Remover: how to use it
- Choose Original file bytes and open a local file. For pasted text, switch to Pasted Unicode text.
- Check the leading bytes. If two signatures match, choose the encoding used when the source was saved.
- Download a copy with the mark removed, or copy the cleaned pasted text.
Limits and notes
Checks leading UTF-8, UTF-16LE, UTF-16BE, UTF-32LE and UTF-32BE signatures. Supports local files up to 128 MiB and pasted text up to 200,000 UTF-16 code units. The result concerns the prefix, not full-file encoding validity.
How your privacy works →BOM Detector and Remover: common questions
What does FF FE 00 00 mean at the start of a file?
It can be the four-byte UTF-32LE signature or a two-byte UTF-16LE signature followed by a zero code unit. Choose using the file's source encoding.
Does removing the BOM also convert UTF-16 to UTF-8?
The file download removes only the selected leading bytes and preserves the source encoding of the payload.
Will a U+FEFF later in the file be removed?
The check examines the beginning of the file only. Later bytes and text remain in the exported copy.