Line Endings Converter
Detect and convert between CRLF (Windows), LF (Unix), and CR (classic Mac) line endings.
CRLF (\\r\\n)
2
LF (\\n)
1
CR (\\r)
0
Dominant: CRLF⚠ mixed line endings
Convert to
Output
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/line-endings/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/line-endings/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_line_endingsFull reference: developer docs · OpenAPI spec
Why this matters
Windows tools default to CRLF, Unix tools to LF, classic Mac to CR. Files moving between them gain stray ^Ms or get treated as a single line. Detect-and-convert fixes both at once.
You might also like
- Batch Rename FilesRename many files at once with find/replace, prefix/suffix, sequence numbers, and casing — download as a ZIP.
- CSV CleanerDetect the delimiter, trim cells, drop empty rows, and normalize messy CSVs into something usable.
- Markdown ↔ HTML ConverterConvert Markdown to HTML or HTML back to Markdown, with sanitisation in both directions.
- Timestamp ConverterConvert between Unix timestamps, ISO dates, and local time.