Remove BOM

Remove the byte order mark from the start of a text file.

Remove BOM

.txt · .csv

Runs in your browser — your file is not uploaded

What it does

Removes the byte order mark, a few hidden bytes some editors put at the start of text files. A BOM can break CSV headers, PHP scripts and config files. You get the same file without those bytes.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Also works with

Remove BOM questions

How do I use the Remove BOM?

Drop the file on the box or choose it from your device, set the options and download the result.

Which files can I use?

.txt and .csv files.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.