How to Save CSV as UTF-8 without BOM in Excel GUI

Abstract: Resolve CSV parsing errors caused by Excel adding a Byte Order Mark by using Notepad to save the file as UTF-8 without BOM.

Created: 2026-08-20 by
Excel’s standard "Save As" CSV options always include a Byte Order Mark, which breaks many parsers. To save a CSV as UTF-8 without BOM via the GUI, you must use the Notepad workaround: open the file in Notepad, save it with the specific encoding, and then reopen it in Excel. This method bypasses Excel’s default behavior while preserving your data integrity.

The Problem with Excel's Default CSV Encoding

When you choose File > Save As and select CSV (Comma delimited) (*.csv) or CSV UTF-8 (Comma delimited) (*.csv), Microsoft Excel automatically prepends a three-byte sequence at the very beginning of the file. This sequence is known as the Byte Order Mark (BOM), represented in hexadecimal as EF BB BF. While some applications handle this gracefully, many command-line tools, Python scripts, and strict JSON parsers fail when they encounter unexpected characters at the start of a text stream. The issue stems from how Excel manages character sets internally. It uses the system's default ANSI code page for legacy formats and UTF-16LE for its internal representation. When exporting to UTF-8, Excel adds the BOM to signal to readers that the file is UTF-8 encoded. However, if your downstream process expects a clean UTF-8 stream without this marker, the export fails silently or causes parsing errors. You might notice symptoms like garbled characters in terminal outputs or errors such as "Invalid UTF-8 sequence" in development environments.

Step-by-Step: The Notepad Workaround

The most reliable way to achieve a UTF-8 without BOM export using only graphical user interfaces is to leverage Windows Notepad. Notepad allows explicit selection of encoding types during the save process, including the precise variant you need. Follow these steps carefully to ensure your data remains intact.
  1. Open the File in Notepad: Right-click your existing CSV file in File Explorer. Select Open with and choose Notepad. Do not double-click the file, as it may open in Excel again. If you do not see Notepad, click "Choose another app" and locate it.
  2. Verify Data Integrity: Once opened, check that all special characters, accents, and non-Latin symbols display correctly. If they appear as squares or question marks, the original file was likely saved in an incorrect encoding (such as ANSI or ISO-8859-1). In that case, you must fix the source encoding first before proceeding.
  3. Initiate the Save Process: Click File in the top-left corner, then select Save As.
  4. Select the Destination: Choose the folder where you want to save the new file. Give it a new name to avoid overwriting the original BOM-enabled version immediately, though you can overwrite it later if desired.
  5. Choose the Correct Encoding: This is the critical step. At the bottom of the Save dialog, look for the dropdown labeled Encoding. If you do not see this dropdown, ensure you are selecting All Files (*.*) or Text Documents (*.txt) in the "Save as type" field. Change the dropdown from the default (usually ANSI or UTF-8 with BOM) to UTF-8. Note that in older versions of Windows 10/11, this option might be labeled simply as "UTF-8".
  6. Save and Verify: Click Save. You now have a file without the BOM header.

Reopening the Clean CSV in Excel

After saving the file via Notepad, you will likely want to view or edit it in Excel again. Simply double-clicking the new file may cause Excel to re-import it incorrectly, potentially adding quotes around fields or misinterpreting dates. To ensure Excel reads the UTF-8 without BOM file correctly, use the Data tab. Navigate to Data > Get Data > From File > From Text/CSV. Browse to your newly saved file. In the preview window, verify that the File Origin is set to 65001: Unicode (UTF-8). If it is set to something else, change it manually. Click Load. This method ensures that Excel treats the file as a pure text stream rather than trying to guess the encoding based on the missing BOM. This approach is particularly useful when dealing with international characters that were previously corrupted. For more complex scenarios involving large datasets or automated workflows, consider exploring how to handle encoding issues in virtualized environments, as seen in our guide on Cannot Save CSV File in Excel (Windows 11, MS Office Home Business 2019) in WSL2 Folder. Virtual machines often have different default encodings, making manual conversion even more critical.

Alternative GUI Methods: Using Word

If you do not have access to Notepad or prefer using Microsoft Word, you can achieve similar results. Open the CSV file in Word. Word usually detects the comma delimiters and presents them in a wizard-like interface. After opening, go to File > Save As. In the "Save as type" dropdown, select Plain Text (*.txt). Click Save. A prompt will appear asking if you want to save line endings as CRLF or LF. Choose your preference, and then ask if you want to convert any Word-specific formatting. Confirm the encoding when prompted by choosing UTF-8. Rename the resulting .txt file to .csv. This method is slightly more cumbersome but works reliably across different versions of Microsoft Office.

Why Avoid Third-Party Tools?

While there are numerous third-party utilities and online converters that claim to strip BOMs, using built-in OS tools is safer for sensitive data. Third-party tools may introduce their own encoding assumptions or require internet connectivity for cloud-based converters, which poses a security risk for confidential business data. The Notepad method requires no installation, no network connection, and provides immediate visual feedback on character correctness. It is the most transparent method for ensuring that no hidden metadata or encoding layers are added inadvertently.

Frequently Asked Questions

How do I know if my CSV has a BOM?

You can check by opening the file in a hex editor or using the command line. Run xxd -l 3 filename.csv in Linux/macOS or certutil -hex filename.csv in Windows. If the first three bytes are ef bb bf, the BOM is present. Visually, you cannot see it, but programs reading the file will encounter it as invisible garbage data at the start.

Does Excel automatically remove the BOM when editing?

No. If you open a BOM-less CSV in Excel and save it using the standard CSV format, Excel will add the BOM back upon saving. You must repeat the Notepad export process every time you modify the file and need to maintain the BOM-less state. There is no native checkbox in Excel to disable this behavior permanently.

Can I use PowerShell to remove the BOM?

Yes, PowerShell is an excellent alternative if you prefer scripting over GUI steps. Use the command [System.IO.File]::WriteAllText("output.csv", [System.IO.File]::ReadAllText("input.csv"), [System.Text.UTF8Encoding]::new($false)). The $false parameter explicitly tells .NET not to include the preamble (BOM). This is faster for bulk processing multiple files.

What happens if I open a UTF-8 without BOM file in old Excel versions?

Older versions of Excel (pre-2016) may struggle to detect the encoding correctly, leading to mojibake (garbled text) where special characters turn into random symbols. Always specify the encoding during import via the Data > From Text/CSV wizard in these older versions to ensure proper rendering of international characters.

Is the BOM harmful for web browsers?

Generally, no. Modern web browsers are highly tolerant of BOMs in HTML and CSS files. However, for JavaScript and JSON files, a BOM can sometimes cause syntax errors because the parser expects the first character to be a valid token (like { or function). It is best practice to strip BOMs from any text file intended for programmatic consumption.
Tags: Excel CSV UTF-8 BOM

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More