Input Array
Enter your JavaScript array in single-line format. The formatter will automatically convert it to a multi-line format with proper indentation.
Example Input:
['file 1.jpg','file 2.png','file 3.jpeg']
Formatted Output
Click anywhere in the output area or use the copy button to copy the formatted array to your clipboard.
Example Output:
[
'file 1.jpg',
'file 2.png',
'file 3.jpeg'
]