CSV and JSON Converter

Convert comma-separated CSV with a header into a JSON array, or turn a flat JSON object array into CSV. Quoted commas, quotes and newlines are supported.

  • Free
  • No sign-up
  • Runs in your browser

Text and results stay on this page. Nothing is uploaded or automatically saved. Copying sends the result to your clipboard; downloading creates a local file.

Powered by VISU

How this calculation works

CSV needs unique nonempty headers and equal-width rows; values become strings. JSON must be a nonempty array of flat objects. CSV output prefixes formula-leading strings with an apostrophe to reduce spreadsheet formula execution; this changes those cell values. Limits: 5000 data rows and 100 columns. Large output is stopped before allocation. JSON integers outside the safe numeric range are rejected; keep long identifiers as strings.

RFC 4180

Give your project a place to be found

Use VISU Link to bring your project links together on one page. This calculator remains free and works without an account.

Discover VISU Link

How to use it

  1. Choose an operation and enter the text, or choose a generation quantity.
  2. Run the tool and check any format warning before using the result.
  3. Copy the result when ready. Clear the fields to remove it from this page.

Examples

  • Example 1

    name,score with Ana,10 becomes [{"name":"Ana","score":"10"}].

  • Example 2

    A quoted cell "Rio, Brasil" keeps its comma inside one field.

Add this tool to your site

Put this tool on your blog, store or club site. It runs inside your page, free, with no account, and a small "by VISU" credit line under it.

Questions

What does this tool do?

Convert comma-separated CSV with a header into a JSON array, or turn a flat JSON object array into CSV. Quoted commas, quotes and newlines are supported.

What are its format limits?

CSV needs unique nonempty headers and equal-width rows; values become strings. JSON must be a nonempty array of flat objects. CSV output prefixes formula-leading strings with an apostrophe to reduce spreadsheet formula execution; this changes those cell values. Limits: 5000 data rows and 100 columns. Large output is stopped before allocation. JSON integers outside the safe numeric range are rejected; keep long identifiers as strings.

Can I see a worked example?

name,score with Ana,10 becomes [{"name":"Ana","score":"10"}].

Is this text sent to a server?

Text and results stay on this page. Nothing is uploaded or automatically saved. Copying sends the result to your clipboard; downloading creates a local file.

Do I need an account?

No account is required to use the tool or copy its result. VISU services are optional.

Add this tool to your site

Free for you and your visitors. Pick a size, copy the code and paste it into any page of your site.

Width
Frame
Credit line
  1. Copy the code.
  2. In your site editor, add an HTML or "custom code" block where the tool should appear.
  3. Paste the code and publish. The height adjusts by itself.

The credit line under the tool links to the original page. Keep it if the tool is useful to you.

Preview

CSV and JSON Converter by VISU