Help
  • Array is like [1,2,3]
Multi-line and Array convert

Multi-line and Array/Tuple convert tool helps you convert between multi-line text and array formats.

All tools on this site run entirely in your browser locally. No data is uploaded to any server.

Features:

  • Lines to Array: Convert multi-line text to array format (e.g. [1,2,3])
  • Array to Lines: Convert array format to multi-line text
  • Add Quotes: When converting, can select whether to add quotes to each item

Convert Example:

  • Lines to Array: 1↵2↵3 → [1,2,3]
  • Array to Lines: [1,2,3] → 1↵2↵3