---
title: "CSV/XLSX Import Formatting Rules"
description: "Prepare your CSV/XLSX in the required format before importing your data."
url: https://help.user.com/en/articles/109-csvxlsx-import-formatting-rules
collection: "Data Import & Export"
updated: 2026-11-23
language: en
alternates: [fr, pl, de, it, es]
---

# CSV/XLSX Import Formatting Rules

Prepare your CSV/XLSX in the required format before importing your data.

This guide outlines the CSV/XLSX import formatting rules you need to follow before uploading files into the system. You’ll learn what structure your data should have, which fields are required, and how values should be formatted to be correctly recognized during import. Sticking to these rules helps prevent common issues like missing columns, invalid data types, or unexpected mapping errors. Use this article as a checklist to validate your file and ensure a fast, reliable import every time.

## File Structure and Separators

### Supported File Types

Currently application allows to upload data from two types of files:

-   CSV
    
-   XLSX
    

### Allowed Separators

Your file must use a one of the standard separators. Otherwise, the file may be rejected.

Allowed options:

-   comma (,)
    
-   semicolon (;)
    
-   tab
    

-   Avoid:
    
    -   Double commas (,,)
        
    -   Commas in irregular places
        
    -   Unusual separator characters
        

> **Info:** If you have comma as a separator, you cannot use it within the values. For example, “Baker street, 221b” is not allowed in “Address” attribute.

### Encoding

Encoding is the method used to represent text as digital data. It defines how letters, numbers, symbols, and special characters are stored and displayed by a system. Choosing the correct encoding is essential for preserving text accuracy, especially when working with multilingual content. If the wrong encoding is selected, characters may appear corrupted or unreadable, a problem often referred to as _mojibake_.

Among the most commonly used options, **UTF-8** is the modern standard. It supports a vast range of characters from different writing systems and is widely recommended for international content because of its compatibility and flexibility.

**Cyrillic (Windows-1251)** is a legacy encoding commonly used for texts written in Cyrillic-based languages, especially in older Windows environments. **Cyrillic (ISO-8859-5)** is another older standard for Cyrillic text, although it is less common today than Windows-1251 or Unicode-based encodings.

For Central and Eastern European languages, **Eastern Europe (Windows-1250)** is often used in legacy Windows applications. It supports languages that use Latin scripts with additional diacritical marks, such as Polish, Czech, and Hungarian. Similarly, **Eastern Europe (ISO-8859-2)** is an older international standard designed for the same language group, though it has largely been replaced by Unicode in modern systems.

Finally, **US ASCII** is one of the oldest and most limited encodings. It includes only basic English letters, numbers, and punctuation marks, making it suitable only for simple plain-text content without accented or non-Latin characters.

In most modern use cases, UTF-8 is the safest and most universal choice, while legacy encodings remain useful mainly for compatibility with older files and systems.

### One Column = One Attribute

Each column header should represent **one attribute** and each cell should contain **only the value** for that attribute.

If you leave extra values in a row that **don’t match any attribute**, the importer may attempt to merge values and treat them as a single field. This can lead to misleading validation errors (e.g., a “last\_name too long” message even when the surname looks fine).

**Checklist**

-   Every column has a clear header (attribute name).
    
-   Every value belongs to an existing attribute (or one you plan to create).
    
-   No “extra” values placed after the last expected column.
    

## **Attribute Types**

Correct formatting matters because the import engine validates value types.

Before you create new attributes, see what types of attributes are available for use:

<table data-id="9de0e2c8-99de-48e2-9f11-d58203dda7ad" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="97fd617a-bea4-4d0a-abc8-ca306a45f82d"><span style="color: #783AFB;"><strong>Type</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="4e3ad0a8-0316-4dcd-8ae7-4ab74dd7dd42"><span style="color: #783AFB;"><strong>Description</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="3ffe37da-0a52-42ac-8b09-a1f1265ade8f"><span style="color: #783AFB;"><strong>Example</strong></span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="0bae2fb1-e3e9-44c2-976d-3801502995cc">Boolean</p></td><td colspan="1" rowspan="1"><p data-id="f76ec648-74d2-4742-af33-0974e452b135">It represents binary options: true / false.</p></td><td colspan="1" rowspan="1"><p data-id="a0cdd736-3783-41c3-bfb0-b528cafc81ee">Attribute "Marketing consent", value "True"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="2a60856f-4994-4e92-965c-9848376a1d90">Date</p></td><td colspan="1" rowspan="1"><p data-id="d8509d4c-e2a0-4761-92a5-973dcba8ca0c">Field to store the information about a specific date. Format: ISO 8601.</p></td><td colspan="1" rowspan="1"><p data-id="a92f864b-adaf-4b16-ac89-0a816894d46b">Attribute "Birthday", value "1996-01-20"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="245862e8-0864-41ef-98ab-400ecce64d56">Datetime</p></td><td colspan="1" rowspan="1"><p data-id="c31c4936-48cf-414a-98c1-98dc4c5589cd">Field to store time-specific details like sign-up or last activity information. It requires ISO 8601 format.</p></td><td colspan="1" rowspan="1"><p data-id="7aacb970-b0b7-40cc-a853-c95fd4b5fc85">Attribute "Last seen", value "2016-08-03 12:00:00+00:00"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="269675e1-369e-4a5a-a731-56cc20f3d78b">Fixed choice</p></td><td colspan="1" rowspan="1"><p data-id="1826931d-32f6-4a00-a07b-878cd3c54e82">Set of possible options that limit the values for a specific field. Such attributes can also include "Allow multiple choices" variation. If this option is ON, you can out more than 1 value into cell, separating them by “|” symbol.</p></td><td colspan="1" rowspan="1"><p data-id="1b5a141f-8cd9-4c2c-8bac-90bb37751f8c">Attribute "Preferred language", value "English", "Polish", "Spanish"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="949d28ec-8ed8-4805-93c7-e47f90725d83">Floating-point number</p></td><td colspan="1" rowspan="1"><p data-id="188d5d86-bac5-47b9-a8b4-c5883f70e648">Numerical data accommodating decimals, suitable for representing prices or statistical measures.</p></td><td colspan="1" rowspan="1"><p data-id="0d5dcc33-497e-4514-8ecb-000e501b08d7">Attribute "Lifetime value", value "1000.59"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="459d770f-4411-48e8-bf36-1e9e8a91152e">Integer</p></td><td colspan="1" rowspan="1"><p data-id="82dc0f09-75bf-4bf0-a0b8-9910c47c0a8b">Numerical data, includes only whole numbers.</p></td><td colspan="1" rowspan="1"><p data-id="538e12e8-2cee-48d2-947e-80edcc7a556d">Attribute "Total number of orders", value "9"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="fae33aad-0a32-4e85-b277-a6087982628a">JSON file format</p></td><td colspan="1" rowspan="1"><p data-id="01a00780-0322-47b7-b65c-05fa0202f21c">It works for longer values that cannot be placed in other data formats. Not available for product events.</p></td><td colspan="1" rowspan="1"><p data-id="35a92a9d-9a6d-42bc-b92c-5ed5baaa973c">Attribute "Additional order information", value (valid JSON object): "key": "value"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="37e706de-2539-4c81-aa79-5a53e5873974">Number</p></td><td colspan="1" rowspan="1"><p data-id="0096051b-04c8-47c1-88f2-18cee168d742">Event only (!).This field is used for event attributes in specific. It covers both integer and floating-point number options.</p></td><td colspan="1" rowspan="1"><p data-id="a0d8428a-8c1c-491c-84b9-331966e54303">Attribute "Points collected", value "15"</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="59fe58d8-18ed-4ee7-a67c-40b6af254613">String</p></td><td colspan="1" rowspan="1"><p data-id="7bdf1782-80f5-4fad-9bf6-46a9e75724be">Any string of characters limited by 255 elements. It is perfect for text-based information, including names, email addresses, or any other textual data.</p></td><td colspan="1" rowspan="1"><p data-id="bf2a5ad4-03bd-4b5a-8ed2-7536da925886">Attribute "Subscription plan", value "Standard"</p></td></tr></tbody></table>

> **Info:** Boolean fields must contain valid boolean values:
> \- Use **TRUE** or **FALSE**
> **\-** Do **not** leave boolean fields blank (empty values can trigger validation errors)

You can read more about attributes [here.](https://help.user.com/en/articles/100-changeable-and-unchangeable-contact-attributes.md)

## Standardized Values for Specific Fields

Some fields expect specific, predefined values. Make sure you use the correct format.

<table data-id="0989ecf5-0829-4bb0-b0b6-4959d1d151f9" style="min-width: 544px;"><colgroup><col style="width: 27.12%;"><col style="width: 46.19%;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="6d7953c3-f0e6-46b0-82db-7873605e4358"><span style="color: #783AFB;"><strong>Attribute</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="a7ed5033-32b9-46da-975c-4f2f95d693c6"><span style="color: #783AFB;"><strong>Description</strong></span></p></td><td colspan="1" rowspan="1"><p data-id="3399440a-ea45-4854-90f2-89b60782e8d1"><span style="color: #783AFB;"><strong>Required Values</strong></span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="e34c3db7-2a9c-4d47-9abc-4e9bad4aa4f5">Gender (contact attribute)</p></td><td colspan="1" rowspan="1"><p data-id="cf0fc863-c86d-4a15-8b34-46c39ebb44dc">Standard attribute you can update with your custom values. Empty by default.</p></td><td colspan="1" rowspan="1"><ul><li><p data-id="d8b93373-f509-4a86-931b-805895722d98"><span style="color: rgb(60, 60, 60);">unknown → 1</span></p></li><li><p data-id="c5083df9-d380-4b80-89cc-ec5609c42664"><span style="color: rgb(60, 60, 60);">male → 2</span></p></li><li><p data-id="575c8cde-6e8f-4334-a584-958839e210b3"><span style="color: rgb(60, 60, 60);">female → 3</span></p></li></ul></td></tr><tr><td colspan="1" rowspan="1"><p data-id="226744d4-5f97-4186-8ba7-aea1b34042cd">Phone number (contact attribute)</p></td><td colspan="1" rowspan="1"><p data-id="0c5a8822-8d3e-4db5-b355-c5fbb6fd2e21">Standard attribute you can update with your custom values. Empty by default. Recommended format suitable for all providers: E.164</p></td><td colspan="1" rowspan="1"><p data-id="d835bc56-12ef-477d-9e48-b7a494410100">E.164 format. Example: +44754123434</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="aec46a07-3317-43d5-93a7-9cc0ef096838">Status (deal attribute)</p></td><td colspan="1" rowspan="1"><p data-id="79c95582-4399-4041-a10a-de35ead7df9b">This field defines status of your deal.</p></td><td colspan="1" rowspan="1"><ul><li><p data-id="499a1c0e-a9b8-4cac-80ff-0419f5960586"><span style="color: rgb(60, 60, 60);">Abandoned → 0</span></p></li><li><p data-id="89410748-c27e-49d6-b974-b2598a21a52a"><span style="color: rgb(60, 60, 60);">In progress → 1</span></p></li><li><p data-id="9aba9b9e-0954-45d4-9375-aafc240bf46b"><span style="color: rgb(60, 60, 60);">Won → 2</span></p></li><li><p data-id="5a412ab1-fcaf-4581-af89-c7f1e16dc13d"><span style="color: rgb(60, 60, 60);">Lost → 3</span></p></li><li><p data-id="42fde865-78ce-45aa-952b-138d03d6663c"><span style="color: rgb(60, 60, 60);">Archived → 4</span></p></li></ul></td></tr><tr><td colspan="1" rowspan="1"><p data-id="b8cf690c-af82-4838-b28b-045479eafc36">Status of the task (deal attribute)</p></td><td colspan="1" rowspan="1"><p data-id="6515983e-1539-412b-b4e5-6874c8a3a8e6">These define your task status.</p></td><td colspan="1" rowspan="1"><ul><li><p data-id="80b17e2a-f71d-42d0-97a5-a827aff2ae09"><span style="color: rgb(60, 60, 60);">No planned → 0</span></p></li><li><p data-id="08727f5e-d109-4949-9935-e1cce065662b"><span style="color: rgb(60, 60, 60);">Planed → 1</span></p></li><li><p data-id="2f675dcc-61c0-47d8-8c23-4dd379404657"><span style="color: rgb(60, 60, 60);">Recently finished → 2</span></p></li><li><p data-id="57c557da-debe-485a-aeed-be2d451abe14"><span style="color: rgb(60, 60, 60);">Overdue → 3</span></p></li></ul></td></tr><tr><td colspan="1" rowspan="1"><p data-id="de00af09-933c-4671-b462-d42163725993">Assigned to (contact attribute)</p></td><td colspan="1" rowspan="1"><p data-id="ec9c2cf8-431e-4be4-bc46-f3ba350b793a">This defines which team member the contact is assigned to</p></td><td colspan="1" rowspan="1"><p data-id="964a03e9-93bc-47bd-b1c1-a56e063e5aa5">Must match an existing team member ID or team member/group name (based on your system setup).</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="75421052-cb37-4ee3-8680-7bd41dcd0948">Status (ticket attribute)</p></td><td colspan="1" rowspan="1"><p data-id="a5cedaa2-78e8-43fb-bd59-3a0351216ab0">This field defines the status of the ticket.</p></td><td colspan="1" rowspan="1"><ul><li><p data-id="748287ee-1744-45c3-a115-d6eeee9f0ff6">draft</p></li><li><p data-id="d6cc2fdb-cdd7-44e5-b865-728d8f881fbe">active</p></li><li><p data-id="68685351-2781-4a7d-b213-a1ae85ba4395">closed</p></li></ul></td></tr></tbody></table>

To know more about importing specific objects to the application, check a dedddicated section in our Knowledge Base: [Data Import & Export](https://help.user.com/en/collections/26-data-import-and-export)

## **Related Articles**

-   [What Is an Attribute](https://help.user.com/en/articles/11-what-is-an-attribute.md)
    
-   [How to Create a Custom Attribute](https://help.user.com/en/articles/38-how-to-create-a-custom-attribute.md)
    
-   [How to Update an Attribute](https://help.user.com/en/articles/50-how-to-update-an-attribute.md)
    
-   [Changeable and Unchangeable Contact Attributes](https://help.user.com/en/articles/100-changeable-and-unchangeable-contact-attributes.md)
    
-   [How to Import Contacts from CSV/XLSX](https://help.user.com/en/articles/103-how-to-import-contacts-from-csvxlsx.md)
    
-   [CSV/XLSX Import Troubleshooting](https://help.user.com/en/articles/113-csvxlsx-import-troubleshooting.md)
