Skip to content

格式化与代码

换行符转换器

免费的换行符转换器。在 Unix LF、Windows CRLF、经典 Mac CR、HTML <br>、逗号或分号分隔列表之间转换。100% 客户端运行。

Runs in your browser
Input · source
lines: 0chars: 0size: 0 B
Converted · result
lines: 0chars: 0size: 0 B
live

编辑注

Understanding · CRLF vs LF.

本深度章节目前仅有英文版本。上方的转换工具支持您的语言;长篇说明文章尚未翻译。

常见问题

Quick answers.

What is the difference between LF and CRLF?

LF (Line Feed) is the standard line terminator for Unix, Linux, and modern macOS. CRLF (Carriage Return + Line Feed) is the legacy typewriter-style standard used by Windows systems.

Can I convert a list into a single line?

Yes. Choose the 'Comma' or 'Space' option to replace all vertical line breaks with your preferred delimiter, turning a column of text into a single paragraph.

How does this tool handle HTML line breaks?

The '<br>' option replaces standard newlines with HTML break tags, which is useful when pasting plain text into web editors or code that doesn't preserve whitespace.

Is my text data secure?

Yes. The conversion logic is written in JavaScript and runs entirely inside your browser. No text is ever uploaded to a server or stored in a database.

大家也在搜索

相关工具

More in this room.

查看所有 格式化与代码