Online New line to <BR /> converter (nl2br)

If you encounter any errors with this tool attaching the file that causes problems.


This tool inserts HTML line breaks (<BR />) before all newlines in the input. Plese note that this tool is xhtml compilant.

Implementations - Download source code

Please note that I did not write any of the bellow code. I have only gathered and mirrored all the implementations in one place. All license and legal notes have been untouched .

If you know of any other implementations (In any programming language not listed below let me know)