Markdown to Song JSON Converter

Instructions & Example

This tool converts specially formatted markdown text (like song or poem lyrics with sections) into a structured JSON array, similar to the example below.

The input must follow this format:

Example input:

[section 1]
[ln]Clamdens on the  seventh  floor,
[ln]Saturday sun through the door. 
[ln]Mom flips eggs, Dad reads the news,
[ln]Little Johnny ties his shoes. 
[ln]Windows shut, AC hums,
[ln]Balcony door left open—someone… 
[section 2]
[ln]Oh, Johnny flew like a bird from the rail,
[ln]Seven stories down, but the branches prevailed. 
[ln]Leaves caught his fall, dirt kissed his skin,
[ln]Good fortune wrapped him up again. 
[ln]Hallelujah, hallelujah—thank the tree!
[ln]Seventh-floor miracle, wild and free. 
[end]