This online javascript tool arranges columnar text into rows of comma-separated values.
Enter input text:
Output text: