How to Clean a Google Workspace CSV File in Notepad
For User Data Import into Proofpoint Essentials
🎯 Purpose
When exporting users from Google Workspace, the CSV file may contain:
Extra quotation marks
"Double quotes around fields
Trailing commas
,Blank rows
Special characters
Proofpoint Essentials requires a standard comma-delimited CSV format without unnecessary quotes or formatting errors. If not cleaned properly, the import will fail.
This guide shows how to quickly clean the file using Notepad (Find & Replace).
📌 Before You Start
Make a backup copy of the original CSV file.
Ensure the file extension remains
.csvafter saving.Do not open and re-save in Excel after cleaning (Excel may reintroduce formatting).
Step 1 – Open the CSV in Notepad
Locate your exported Google Workspace CSV file.
Right-click the file.
Select Open With → Notepad.
You should now see plain text separated by commas.
Step 2 – Identify Problem Characters
Look for common formatting issues:
Double quotation marks:
"John Doe"Extra commas:
,,Empty rows at bottom
Misaligned rows
Most common issue: unnecessary quotation marks " ".
Step 3 – Remove All Double Quotes
Press CTRL + H (Find and Replace).
In Find what, type:
"
Leave Replace with blank.
Click Replace All.
This removes all quotation marks in one step.
Step 4 – Remove Extra Commas (If Needed)
If you see double commas like:
john@company.com,,User
Press CTRL + H
Find:
,,
Replace with:
,
Click Replace All
Repeat if necessary.
Step 5 – Remove Blank Lines
Scroll to the bottom.
Delete any empty rows manually.
Ensure the file ends cleanly on the last user record.
Step 6 – Review Data Quality
Always manually inspect:
Top 5 rows
A few rows in the middle
Bottom 5 rows
Check for:
Proper comma separation
No quotes
No extra commas
No broken lines
Consistent number of fields per row
Each row must follow the same structure.
Step 7 – Save Correctly
Click File → Save As
Ensure:
File type: All Files
Encoding: UTF-8
File name ends with
.csv
Example:
proofpoint_users_clean.csv
Final Validation Checklist
Before importing into Proofpoint Essentials:
☐ No quotation marks "
☐ No double commas ,,
☐ No blank lines
☐ Comma-delimited only
☐ Consistent column structure
☐ Saved as UTF-8 CSV
Important Note
Proofpoint Essentials requires:
Proper CSV comma-separated format
No extra quotes or stray characters
No malformed rows
If formatting is incorrect, the import will fail.
Quick Reference Summary
Open in Notepad → CTRL + H → Remove " → Fix ,, → Review top/middle/bottom → Save as CSV → Import