Convert Documents $2.00 / 1,000 calls

Excel from CSV

What this tool does

This tool packs one or several CSV files into a single Excel workbook, one sheet per CSV. It detects the separator automatically and can convert numbers to real numeric cells.

When to use it

  • Sending a customer a clean .xlsx built from system exports.
  • Joining several CSV reports in one workbook for analysis.
  • Turning a semicolon CSV from a Spanish tool into an openable Excel file.
  • Preparing data for a colleague who only works with Excel.

What to expect

You receive a link to the .xlsx, the sheet names and the number of rows written.

Limitations

  • Up to 20 CSV files per call.
  • No formulas, styles or column widths are generated.
  • Sheet names are limited to 31 characters (Excel rule).

When it fails

  • No CSV could be downloaded.
  • The delimiter is not supported.
  • The sheet names contain characters Excel forbids.

Good to know

  • Set infer_types to get numbers as numbers instead of text.
  • Without sheet_names, the file name of each CSV becomes the sheet name.
  • UTF-8 with BOM in the input is handled automatically.

Input data

Parameter Required Example Description
urls Yes https://public.downloads.uproc.io/samples/sample.csv Comma-separated public URLs of the CSV files (1-20).
sheet_names No - Optional comma-separated sheet names, in the same order as the URLs.
delimiter No auto CSV separator: auto, comma, semicolon, tab or pipe. Default auto.
infer_types No false Convert numeric-looking values to numbers. Default false.

Output data

Field Description
result Signed URL of the generated .xlsx.
sheets Sheets written to the workbook.
rows Rows written in total.
sheet_names Names of the generated sheets.