Line Ending Detector
Detect LF / CRLF / CR with per-style counts and ratios, the dominant style, the stray line numbers, trailing-newline state and UTF-8 BOM — read-only, never rewrites
forge-line-ending-scanv1.0.0IEEE Std 1003.1-2017 (POSIX) line/newline definitions · The Unicode Standard 15.0 §5.8 Newline Guidelines · §23.8 + RFC 3629 §6 (UTF-8 BOM) · RFC 3629 §4 (well-formed UTF-8)
Workspace
Local or server · same path as API
text/line-ending-detectDrop a text file to check its line endings
Pasted text, and the first 256 KB of a dropped file, are sent to the Forge API to be scanned; the bytes are not stored.
Pasted text, and the first 256 KB of a dropped file, are sent to the Forge API to be scanned; the bytes are not stored.
Paste text or drop a file to see its line-ending verdict.
Detection only — this tool never rewrites your file.
API
forge.text.line_ending_detectSame contract as the page. Use an authenticated key in production.
curl -X POST 'https://forge.nebutra.com/v1/tools/text/line-ending-detect/invoke' \
-H 'Authorization: Bearer sk-sailor-…' \
-H 'Content-Type: application/json' \
-d '{
"example": true
}'
