Ctrl + K
HomeEncoding ToolsBOM Detector
Free Developer Tool

BOM Detector

Detect and identify Unicode byte order marks such as UTF-8, UTF-16 and UTF-32 BOMs in text data.

Only the first 16 bytes are inspected. The file is processed locally in your browser and is not uploaded to a server.
Common BOM Signatures
EncodingTypeBytesLength
UTF-8BOMEF BB BF3 bytes
UTF-32 LEBOMFF FE 00 004 bytes
UTF-32 BEBOM00 00 FE FF4 bytes
UTF-16 LEBOMFF FE2 bytes
UTF-16 BEBOMFE FF2 bytes
UTF-7Encoding signature2B 2F 76 38 2D5 bytes
UTF-7Encoding signature2B 2F 76 384 bytes
UTF-7Encoding signature2B 2F 76 394 bytes
UTF-7Encoding signature2B 2F 76 2B4 bytes
UTF-7Encoding signature2B 2F 76 2F4 bytes
UTF-1Encoding signatureF7 64 4C3 bytes
UTF-EBCDICEncoding signatureDD 73 66 734 bytes
SCSUEncoding signature0E FE FF3 bytes
BOCU-1Encoding signatureFB EE 283 bytes
GB-18030BOM84 31 95 334 bytes
Notes
• BOM stands for Byte Order Mark.
• A BOM or encoding signature is located at the beginning of a byte stream.
• UTF-8 does not require a BOM, although EF BB BF may be present.
• UTF-16 and UTF-32 BOMs can indicate byte order.
• Some encodings, such as UTF-7, use an encoding signature rather than a conventional BOM.
• A missing BOM does not mean that a file is invalid or that its encoding cannot be determined.
• The detector examines the actual file bytes and does not decode the file as text first.
• Only the beginning of the file is read, so large files can be checked efficiently.
• Everything is processed locally in the browser.

What is BOM Detector?

Upload a file to detect a byte order mark (BOM) at the beginning of its binary data and identify the corresponding encoding signature.

How to use

  1. Select a file to inspect.
  2. The tool reads the first few bytes of the file.
  3. Check whether a recognized BOM signature is present.
  4. Review the detected BOM type, byte signature, and length.

Features

  • BOM detection
  • UTF-8 BOM identification
  • UTF-16 BOM identification
  • UTF-32 BOM identification
  • Additional Unicode encoding signatures
  • Raw byte inspection

Common Use Cases

  • Encoding troubleshooting
  • File inspection
  • Unicode debugging
  • Data import issues
  • Text file analysis

Example

Input
A text file beginning with the UTF-8 BOM bytes EF BB BF.
Output
BOM: UTF-8
Signature: EF BB BF
Length: 3 bytes
BOM detected

FAQ

Does the tool inspect the actual file bytes?

Yes. It reads the beginning of the selected file as raw bytes instead of decoding the file as text first.

Can it detect UTF-8, UTF-16, and UTF-32 BOMs?

Yes. It recognizes UTF-8, UTF-16 LE/BE, UTF-32 LE/BE, and several additional encoding signatures.

Does the tool upload or modify my file?

No. Only the beginning of the selected file is read locally in the browser, and the original file is not modified or uploaded.