Remove BOM
Remove the byte order mark from the start of a text file.
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.txt Plain Text File
Text Files
- 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
Related tools
More in Encoding & Base64
Change Text Encoding
Convert a text file between UTF-8, Windows-1250, ISO-8859-2 and other encodings.
UTF-8 Byte Viewer
Show the code point and UTF-8 bytes of each character.
Base64 Encode/Decode
Turn text into Base64 and back, with UTF-8 support.
URL Encode/Decode
Percent-encode text for a URL, or decode it back.
Image to Base64
Turn an image into a Base64 string or a data URI for CSS and HTML.
HTML Entities Encode/Decode
Escape <, >, & and quotes as HTML entities, or turn entities back into text.
JWT Decoder
Read the header and payload of a JSON Web Token and its expiry time.
Base64 to Image
Turn a Base64 string or data URI back into an image file.
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.