CSV to JSON

CSV to JSON

Description

This action converts your CSV into an JSON format.

The delimiters of the CSV input are recognized automatically. Possible delimiters:

  • Comma ,
  • Tab
  • Space
  • Semicolon ;
  • Pipe |

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
CSVString in CSV formatThe CSV code or a file containing CSV✔️✔️-
Data Includes Header?BooleanYes: The first line of the CSV input will be formatted as headers in the Excel table. No: Default names will be included as headers in the Excel table.✔️✔️Yes

Output

ResponseTypeDescription
JSONStringThe JSON response from the CSV formatted as a String

Power Automate Examples

Basic CSV with Comma delimiter with headers

We use a simple CSV with four pets.

Simple CSV with semicolon delimiter
Pet; Identifier;First name;Last name
Dog;1000;Eats;A Lot
Cat;1001;Likes;To Scratch
Cat;1002;Furry;Kitty
Duck;1003;Dagobert;Swimmy

We have not changed the advanced options.

Picture

Basic CSV with Pipe | delimiter and without headers

We once again use a simple JSON with four pets.

Simple CSV with Pipe delimiter
Dog|1000|Eats|A Lot
Cat|1001|Likes|To Scratch
Cat|1002|Furry|Kitty
Duck|1003|Dagobert|Swimmy

We have directly entered the CSV into our action. We have not changed in the Advanced Options that there is no header included.

Picture

Power Apps Examples

Known Limtitations

⚠️
If you experienced other limitations please get in touch with us!

Column Formatting

All cells in the Excel File are automatically formatted as text columns. There will be an option inlcuded in the next version.