Wrap Text Every N Characters
Insert line breaks every N characters to quickly format text for posting, drafting, and proofreading.
Supports preserve/reflæði line-break behavior and optional word-safe wrapping.
Verkfæri
Use this verkfæri to wrap long text into fixed-length lines with practical options. Start from inntak, set N, format, and copy in one flæði.
How to use
- Paste text into the inntak area.
- Set N (for example: 40, 72, 80, or 120).
- Enable options if needed, then click Format.
- Copy or download the úttak.
Option Notes
- Turn on Wrap on whitespace to avoid splitting words when possible.
- Turn on Prefer punctuation to break after nearby punctuation around the wrap point.
- Use Preserve existing line breaks for safer editing when inntak already has meaningful paragraphs.
- Use Reflæði for full paragraph-level normalization when pasted text has unstafla line breaks.
Algengar spurningar
Can I avoid splitting words?
Yes. Enable Wrap on whitespace. If no whitespace exists in range (for example long URLs), it falls back to strict N-character splitting.
Can it prefer punctuation when wrapping?
Yes. Enable Prefer punctuation. The verkfæri checks punctuation near the wrap position and breaks right after it when found.
What happens to existing line breaks?
Choose Preserve to wrap each existing line independently, or Reflæði to rebuild paragraphs and wrap again.
Is this based on visual width (full-width/half-width)?
No. Wrapping is based on character count (code points by default), not rendered visual width.
Athugasemdir
- Character counting uses code points by default. This may differ from visual text width.
- When inntak is very large, formatting and diff pyfirferð may take longer.
- Enable Auto-copy after format only if you need one-click flæði; default is OFF to reduce accidental overwrite.