Help
  • Tuple is like (1,2,3)
Multi-line and Tuple convert

Multi-line and Tuple convert tool helps you convert between multi-line text and tuple formats.

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

Features:

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

Convert Example:

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

Common uses:

  • Quickly convert multi-line data to SQL IN query conditions
  • Convert list data to Python array or tuple