Remove BOM

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.

Status and statistics

No BOM detected

BOM detected: No
Characters removed: 0
Original length: 0
New length: 0

⭐ Remove BOM - Explanation and examples

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.

🔎 What is a UTF-8 BOM?

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.

⚙️ How BOM detection works

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.

⭐ How to use Remove BOM

  1. Paste your text into the Input box.
  2. Click Remove BOM.
  3. Read the Output text and status statistics.
  4. Use Copy Output to copy the cleaned result.

🔎 Example

Input:

\uFEFFHello World

Output:

Hello World

Input without BOM:

Hello World

Output:

Hello World

✅ Statistics shown

  • BOM detected: Yes or No
  • Characters removed: 0 or 1
  • Original length
  • New length

⚠️ Important notes

  • Only a BOM at the very start is removed.
  • No other characters are removed or edited.
  • All processing runs in your browser for privacy.

This tool is also known as

  • remove utf 8 bom from text
  • strip bom online
  • delete byte order mark
  • remove feff from beginning of file
  • utf8 bom cleaner

Frequently Asked Questions

The Remove BOM tool checks whether your text starts with a UTF-8 BOM character (\uFEFF). If found, it removes only that first BOM character and leaves all other content unchanged.

A UTF-8 BOM is the Unicode character \uFEFF placed at the beginning of a text file. It can help identify UTF-8 encoding, but some parsers and import tools do not expect it.

BOM is detected at the first character position only, using checks equivalent to text.charCodeAt(0) === 0xFEFF or text.startsWith("\uFEFF").

No. It removes only a BOM at the very start of the input. Any similar character later in the text remains untouched.

The output is returned exactly as the input, with no changes. Statistics show BOM detected: No and characters removed: 0.

Yes. Unicode content, emoji, accented characters, and non-Latin scripts are preserved exactly as provided, except for an optional BOM at the start.

Yes. The tool works well for CSV, JSON, XML, and plain text where a leading BOM can break parsing or downstream processing.

You get BOM detected (Yes/No), characters removed (0 or 1), original length, and new length.

Click Copy Output to copy the output textarea content to your clipboard. The interface briefly shows a Copied! message to confirm success.

No. Processing happens entirely in your browser. Your content is not uploaded, stored, or shared.