---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Convert CSV file to JSON format

# Convert CSV file to JSON format {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Convert your CSV file to JSON format to create synthetic monitors.

## CSV file to JSON format {#convert-csv-file-to-json-format__section_oqc_tfl_33c}

To convert the CSV file to JSON format, access the terminal. Depending on your operating system, execute the required commands.{#convert-csv-file-to-json-format__table_m1q_3jm_33c__entry__2}

| Operating system | Curl commands |
|-|-|
| macOS | jq -Rs '{csv_content: .}' filename.csv |
| Windows Powershell | * If using jq, use the command jq -Rs '{csv_content: .}' filename.csv * If using only Powershell (no jq installed), use the commands: 1. $csvContent = Get-Content -Path "synthetic_checks.csv" -Raw 2. $json = @{ csv_content = $csvContent } \| ConvertTo-Json 3. $json {#convert-csv-file-to-json-format__ol_n25_t4m_33c} * If using Windows command prompt with jq installed, use the command jq -Rs "{csv_content: .}" filename.csv {#convert-csv-file-to-json-format__ul_eds_p4m_33c} |
[Tabelle : 1. Commands to convert CSV file to JSON format]

{#convert-csv-file-to-json-format__table_m1q_3jm_33c}

The output is a CSV content wrapped in JSON format that is available on the terminal.
{ "csv_content": "name,method,description,interval,cmdb_ci,...\\n\\"Monitors1\\",\\"GET\\",\\"CHECK1\\",5,..." }  
Once the content is available in JSON format, access the Body tab in Postman, and select Raw to paste the JSON format content and select Send.  
Hinweis:  
Ensure that the format selected is JSON.

The response status provides the job Id and the status of monitors created. If there are any errors found, fix the file and run the same commands to complete the monitor creation.

