Byte Order Mark (BOM) Detector
Paste text to instantly detect whether it contains a Byte Order Mark, see the BOM bytes in hex, and copy a clean BOM-free version.
Known BOM Signatures
| Encoding | Hex Bytes | Length |
|---|---|---|
| UTF-8 | EF BB BF | 3 bytes |
| UTF-16 LE | FF FE | 2 bytes |
| UTF-16 BE | FE FF | 2 bytes |
| UTF-32 LE | FF FE 00 00 | 4 bytes |
| UTF-32 BE | 00 00 FE FF | 4 bytes |
Detection Result
Paste text on the left to analyze
BOM Detected
Encoding
BOM Size
Hex Bytes
Decimal Values
No BOM Found
The text does not start with any known BOM signature.
Characters
First 4 Bytes (hex)
BOM-Free Text
The BOM character has been removed from the start of the text.
Copied!
Summary
Paste text to instantly detect whether it contains a Byte Order Mark, see the BOM bytes in hex, and copy a clean BOM-free version.
How it works
- Paste or type your text into the input area.
- The tool reads the first 4 bytes of the text to identify known BOM signatures.
- If a BOM is found, the encoding type and hex bytes are displayed.
- Use the "Strip BOM" button to get a clean copy with the BOM removed.
- Copy the result to clipboard with one click.
Use cases
- Debug broken CSV or JSON files caused by a stray UTF-8 BOM.
- Verify that source code files do not carry an unexpected BOM.
- Check text copied from Windows Notepad or Microsoft Word.
- Confirm encoding before uploading data to a database or API.
- Strip the BOM from configuration files that break parser tools.
- Inspect clipboard content when a script fails on the first byte.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu