---
title: "Discussion on \"How Do You Put a Quote Inside a CSV Field?\" | Hashnode"
description: "Discussion on \"How Do You Put a Quote Inside a CSV Field?\". A CSV field is wrapped in quotes to protect it. So what happens when the field itself contains a quote? I tested it with a real run, and the answer is one rule: write two quotes in a row. Full run in"
url: "https://hashnode.com/posts/how-do-you-put-a-quote-inside-a-csv-field/6b0f667bd0d228cd006fe44d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Do You Put a Quote Inside a CSV Field?](https://shipstackai.hashnode.dev/how-do-you-put-a-quote-inside-a-csv-field?utm_source=hashnode&utm_medium=feed)

A CSV field is wrapped in quotes to protect it. So what happens when the field itself contains a quote? I tested it with a real run, and the answer is one rule: write two quotes in a row. Full run in

20h ago · 2 min read · shipstackai.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#node](https://hashnode.com/tag/node)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Ship Stack](https://hashnode.com/@shipstackai)

@shipstackai

  
[View profile](https://hashnode.com/@shipstackai)

Real AI-built Node.js projects, tools and workflows.

Real AI-built Node.js projects, tools and workflows. Every experiment is built and load-tested on camera, with the real numbers. Videos: https://www.youtube.com/@ShipStackAI

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
