"Save Excel as Pipe-Delimited CSV"

Kayla Jul 09, 2026

In today's data-driven world, Excel is a staple for managing and analyzing information. However, sometimes you might need to share or use this data in other applications that don't support Excel's proprietary format. This is where CSV, or Comma Separated Values, comes in. But what if your data contains commas itself? That's where Pipe Delimited CSV, also known as Pipe Separated Values (PSV), shines. Here's a step-by-step guide on how to save an Excel file as a pipe delimited CSV.

MS Office Tutorial | How to convert CSV files into EXCEL Workbooks – Step-by-step tutorial - up2dateskills
MS Office Tutorial | How to convert CSV files into EXCEL Workbooks – Step-by-step tutorial - up2dateskills

Before we dive in, let's understand why you might want to use PSV instead of the standard CSV. Pipe delimited CSV is particularly useful when your data contains commas, as it uses the pipe character (|) as the delimiter. This ensures your data remains intact and readable when imported into other software.

Excel Save As Quiz for Beginners
Excel Save As Quiz for Beginners

Preparing Your Excel File

Before saving your Excel file as a PSV, ensure your data is clean and formatted correctly. This includes removing any unnecessary spaces, line breaks, or special characters that could cause issues during the conversion process.

Must Know
Must Know

Also, consider the order of your columns. PSV files are essentially flat text files, so the order of columns matters. Make sure your columns are in the correct order before proceeding.

Removing Special Characters

[2025 guide] How to open CSV files in Excel
[2025 guide] How to open CSV files in Excel

Excel allows special characters in cell values, but these can cause issues when saving as PSV. To remove special characters, you can use the `SUBSTITUTE` function. For example, to replace all ampersands (&) with nothing, use `=SUBSTITUTE(A1, "&", "")`.

To apply this to your entire range, you can use the `Find and Replace` feature. Go to `Home` > `Find & Select` > `Replace`. In the 'Find what' field, enter the special character you want to remove, and leave the 'Replace with' field blank. Click 'Replace All'.

Removing Line Breaks

How to Use AutoFill in Excel to Save Time
How to Use AutoFill in Excel to Save Time

Line breaks in cells can also cause issues. To remove them, you can use the `TRIM` function. Assuming your data is in column A, enter the formula `=TRIM(A1)` in a new cell, then drag it down to copy the formula for the rest of your data.

Alternatively, you can use the `Text to Columns` feature to remove line breaks. Select your data, go to `Data` > `Text to Columns`. In the 'Original data type' dropdown, select 'Delimited', then uncheck all delimiters except 'Other'. In the 'Other' field, enter a line break (`Alt + Enter` to insert a line break in the field). Click 'Finish'.

Saving Your Excel File as Pipe Delimited CSV

How to Protect Excel Files
How to Protect Excel Files

Once your data is clean and formatted, you're ready to save your Excel file as a PSV. Here's how:

1. Select the range of cells you want to save. If you want to save the entire worksheet, click in the top-left cell (usually A1), then press `Ctrl + A` (or `Cmd + A` on Mac) to select the entire worksheet.

My 9 Favorite Excel Formatting Tricks to Make My Data Pop
My 9 Favorite Excel Formatting Tricks to Make My Data Pop
the excel basics for beginners poster is shown in green and white, with instructions on how
the excel basics for beginners poster is shown in green and white, with instructions on how
how to save time on Ms Excel.
how to save time on Ms Excel.
Autofit Rows and Columns in Excel with VBA
Autofit Rows and Columns in Excel with VBA
An Easy Guide to Filtering Data in Excel
An Easy Guide to Filtering Data in Excel
Excel Quick Tips
Excel Quick Tips
Advanced Excel
Advanced Excel
the value function for an error in excel and excel - click to see if it is not
the value function for an error in excel and excel - click to see if it is not
a poster with instructions on how to use data cleaning in excel and other office supplies
a poster with instructions on how to use data cleaning in excel and other office supplies
How to Sort and Filter Data in Excel - A Complete Guideline - ExcelDemy
How to Sort and Filter Data in Excel - A Complete Guideline - ExcelDemy
Copy Only Visible Cells in Excel
Copy Only Visible Cells in Excel
Make a Clickable Directory with Excel – Easy Navigation Hack
Make a Clickable Directory with Excel – Easy Navigation Hack
How to Convert Excel to PDF & PDF to Excel
How to Convert Excel to PDF & PDF to Excel
How to separate information on Excel
How to separate information on Excel
Master How To Make a Budget in Excel – Easy Steps & Tips
Master How To Make a Budget in Excel – Easy Steps & Tips
130+ Free Excel Tutorials
130+ Free Excel Tutorials
3 Excel Formulas That Save 1 Hour Every Day
3 Excel Formulas That Save 1 Hour Every Day
🏁 Excel Tip to Finish Faster!
🏁 Excel Tip to Finish Faster!
Top 21 Excel Formulas
Top 21 Excel Formulas
Excel Formulas Unleashed
Excel Formulas Unleashed

2. Click on `File` > `Save As`. In the 'Save as type' dropdown, select 'CSV (Comma delimited) (*.csv)'.

3. Navigate to the location where you want to save your file, enter a name for your file, then click 'Save'.

4. A dialog box will appear asking if you want to add an extension. Click 'Yes'.

5. Another dialog box will appear asking if you want to open the file after it's saved. Click 'No'.

6. A third dialog box will appear asking if you want to use the 'CSV' format or the 'MS-DOS' format. Select 'MS-DOS' and click 'OK'. This will save your file using the pipe character (|) as the delimiter instead of a comma.

Verifying Your PSV File

To ensure your file has been saved correctly, open it in a text editor like Notepad (on Windows) or TextEdit (on Mac). Look for the pipe character (|) between each value. If your data contains commas, it should now be enclosed in double quotes ("").

If your data doesn't contain commas, it should appear as it does in Excel, with the pipe character (|) separating each value. If everything looks correct, you're ready to use your PSV file in other applications.

Importing Your PSV File into Other Applications

To import your PSV file into other applications, you'll need to specify the pipe character (|) as the delimiter. In Microsoft Access, for example, you would go to `Data` > `Get External Data` > `Import`. In the 'Files of type' dropdown, select 'Text Files (*.txt, *.csv)', then click 'Browse' to select your PSV file.

In the 'Import Text Wizard', select 'Delimited' as the file type, then click 'Next'. On the 'Delimiters' screen, select 'Other' as the delimiter, then enter the pipe character (|) in the 'Other' field. Click 'Next', then 'Finish' to import your data.

Remember, the key to successful data import is ensuring your data is clean and formatted correctly before saving. Always double-check your data after importing to ensure it's accurate and complete.

Now that you know how to save an Excel file as a pipe delimited CSV, you can confidently share your data with others, knowing it will remain intact and readable in other applications. Happy data sharing!