Remove a UTF-8 Byte Order Mark (BOM) from the beginning of text in one click. This tool detects BOM, removes only the first BOM character when present, and keeps all other content unchanged directly in your browser.
The Remove BOM tool removes a UTF-8 Byte Order Mark from the beginning of text when present. It only removes the first BOM character and does not change any other content, including line breaks, Unicode characters, emoji, CSV, JSON, and XML text.
A UTF-8 BOM is the Unicode character \uFEFF placed at the very start of a text. Some software adds it automatically. Other tools may not expect it, which can cause parsing issues in scripts, CSV imports, JSON processing, or API payloads.
This tool checks the first character only. BOM is detected when either of these conditions is true:
text.charCodeAt(0) === 0xFEFF
or
text.startsWith('\uFEFF')
If BOM is detected, only that first character is removed. Everything else remains exactly the same.
Input:
\uFEFFHello World
Output:
Hello World
Input without BOM:
Hello World
Output:
Hello World