Skip to main content

Line Break Convert tool

The Line Break Convert tool normalizes line endings in block text to a chosen style. It first collapses every line ending (\r\n and \r) to \n, then rewrites them to the target style. Use it to make output consistent for a platform that expects a particular convention — for example CRLF on Windows-targeted files.

By default both the source and every target locale are converted.

IDlinebreak-convert
SourceBuilt-in
Categorytext-processing
Cardinalitymonolingual

Parameters

ParameterTypeDefaultDescription
applySourcebooleantrueApply to source text
applyTargetbooleantrueApply to target text
modestringlfTarget line break style

Configure these parameters interactively and copy the flow-step YAML on the Tool Reference.

Examples

Convert to Windows line endings

Rewrite all line endings to CRLF for source and targets.

mode: crlf

Normalize only the source

Convert source line endings to LF, leaving targets untouched.

mode: lf
applyTarget: false

Processing notes

  • Operates on translatable blocks only; non-translatable blocks pass through unchanged.

  • Target conversion applies to all target locales present, not a single configured locale.

← Back to the Tool Reference