Skip to main content
To upload data in CSV format, the Domo specification used for representing data grids in CSV format closely follows the RFC standard for CSV (RFC-4180). We extend the RFC in the following ways:
  • Optionally use line feeds without a carriage return as a row separator.
  • Support of Unicode characters.
All data uploaded in this format must comply with a schema that is supplied separately from the upload. For example the CSV must comply with the correct number of columns and field types.

Specifications

  • file = [header CRLF] record *(CRLF record) [CRLF]
  • header = name *(COMMA name)
  • record = field *(COMMA field)
  • name = field
  • field = (escaped | +—escaped)
  • escaped = DQUOTE *(TEXTDATA | COMMA | CR | LF | 2DQUOTE) DQUOTE
  • non-escaped = *TEXTDATA
  • COMMA = %x2C
  • DQUOTE = %x22
  • 2DQUOTE = DQUOTE DQUOTE
  • CRLF = CR LF | LF
  • CR = %x0D
  • LF = %x0A
  • TEXTDATA = ![COMMA | CR | LF | DQUOTE]

Examples

Examples of Invalid CSV

Next Steps


Explore more about the DataSet API now that you know how to import and export data.

Need additional help?


No problem, we’d love to help. Explore our documentation, answers to frequently asked questions, or join other developers in Domo’s Developer Forum.  For further help, feel free to email us or contact our sales team.