Package Information
Downloads: 58 weekly / 175 monthly
Latest Version: 1.0.0
Author: Monfort N. Brian
Available Nodes
Documentation
n8n-nodes-csv-normalizer
Smart CSV/Excel normalizer for n8n workflows.
Features
- Auto-detect file encoding (UTF-8, Latin-1, UTF-16)
- Normalize headers to snake_case
- Remove empty rows and columns
- Trim whitespace from all fields
- Convert dates to ISO format (YYYY-MM-DD)
- Coerce numeric strings to numbers
- Custom column name mappings
- Support for both CSV and Excel files
Installation
In n8n (Community Nodes)
- Go to Settings → Community Nodes
- Click Install
- Enter
n8n-nodes-csv-normalizer - Click Install
Manual Installation
npm install n8n-nodes-csv-normalizer
Usage
Basic CSV Normalization
- Add "CSV Normalizer" node to your workflow
- Choose operation: Normalize CSV
- Paste or use expression for CSV data
- Configure options:
- ✅ Normalize Headers
- ✅ Trim Whitespace
- ✅ Remove Empty Rows
Excel Normalization
- Add "CSV Normalizer" node
- Choose operation: Normalize Excel
- Connect a binary file input
- Configure normalization options
Example
Input CSV:
First Name,Last Name, Email
John , Doe ,john@example.com
Jane , Smith ,jane@example.com
Output JSON:
[
{
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com"
},
{
"first_name": "Jane",
"last_name": "Smith",
"email": "jane@example.com"
}
]
Options
| Option | Description | Default |
|---|---|---|
| Normalize Headers | Convert headers to snake_case | true |
| Remove Empty Rows | Remove completely empty rows | true |
| Remove Empty Columns | Remove completely empty columns | false |
| Trim Whitespace | Trim whitespace from all fields | true |
| Detect Encoding | Auto-detect file encoding | true |
| Normalize Dates | Convert dates to ISO format | false |
| Coerce Numbers | Convert numeric strings to numbers | false |
| Column Mappings | Map column names to new names | - |
License
MIT
Support
For issues and feature requests, please open an issue.