Skip to main content

Understanding line break types: CR LF, LF, and CR

· 2 min read
Pranjal Kumar
Software Engineer, @Bentley Systems

Line break types comparison

Line breaks play an essential role in text formatting, yet they are often overlooked in the programming world. Operating systems and text editors have their conventions for line breaks, leading to variations in line break types. This article will explore the differences between three common line break types: CR LF, LF, and CR.