Convert List to JSON Array

Form for List converting to JSON

This form allows you convert text list to JSON array(each line will be converted to an array element), paste or upload your list below:


Your result can be seen below.

Result of List conversion to JSON


Move to "Paste Code" for Save it

About List conversion to JSON

About this tool

The List to JSON Converter was created for online converting text list into appropriate JSON type as Array. Each new line will be converted to a separate array element. This can come in handy for testing or debugging your list data, also for fast formatting and adding an array of JSON to your config or anywhere else. No need to download or install any software.

Many programmers have cases when they need to add lists to the database or send emails to the list of emails or something else, so this tool is very useful because you can quickly convert the list to the JSON.

How it Works?

Just paste your list to the textarea above and click to the button "Convert" and you will get JSON array in the next textarea.

Example of List conversion to JSON

Before:
first line
second line
last line
After:
["first line","second line","last line"]
After the conversion, you can apply the JSON array to your project or use it for some other purpose.
Donate

Did you like this tool? You can donate to us. This will help us improve our free web tools.

Paypal