Remove BOM (Byte Order Mark)
Detect and remove hidden UTF-8 Byte Order Mark characters from text or files. Fix broken headers, weird JSON output, and invisible characters in one clean step.
Remove BOM Online
Paste text with a BOM, or upload a file. The tool will clean it instantly.
What is the Remove BOM Tool?
A BOM (Byte Order Mark) is an invisible Unicode marker that may appear at the beginning of UTF-8 text files. Most of the time it is harmless, but in some workflows it causes annoying issues such as broken output, “headers already sent” errors in PHP, or unexpected whitespace in web applications.
Why removing the Byte Order Mark is critical
How to use the BOM remover
Put your text or code into the input box.
Use Detect BOM to check, or Remove BOM to clean it instantly.
Copy the cleaned output or download it as a text file.
The tool removes only the BOM at the start, not your actual content.
What this tool removes
This tool targets the following invisible BOM-related issue:
- UTF-8 BOM sequence at the beginning of the text
- Leading invisible characters that may interfere with code or content