---
title: Write CSV data to InfluxDB
description: Use the influx CLI, InfluxDB user interface, or Telegraf to write CSV data to InfluxDB.
url: https://docs.influxdata.com/influxdb3/cloud-serverless/write-data/csv/
estimated_tokens: 269
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/cloud-serverless/write-data/csv/
date: '2025-01-13T07:21:11-07:00'
lastmod: '2025-01-13T07:21:11-07:00'
---

### [Write CSV data with the influx CLI](/influxdb3/cloud-serverless/write-data/csv/influx-cli/)

Use the [`influx write` command](/influxdb3/cloud-serverless/reference/cli/influx/write/) to write CSV data to InfluxDB. Include annotations with the CSV data to determine how the data translates into [line protocol](/influxdb3/cloud-serverless/reference/syntax/line-protocol/).

### [Use the InfluxDB UI to write CSV data](/influxdb3/cloud-serverless/write-data/csv/user-interface/)

Use the InfluxDB user interface (UI) to write CSV data to InfluxDB.

### [Use Telegraf to write CSV data to InfluxDB](/influxdb3/cloud-serverless/write-data/csv/telegraf/)

Use the Telegraf `file` input plugin to read and parse CSV data into [line protocol](/influxdb3/cloud-serverless/reference/syntax/line-protocol/) and write it to InfluxDB.

#### Related

* [Line protocol](/influxdb3/cloud-serverless/reference/syntax/line-protocol/)
* [Annotated CSV](/influxdb3/cloud-serverless/reference/syntax/annotated-csv/)
* [influx write](/influxdb3/cloud-serverless/reference/cli/influx/write/)
