Add Text to Each Line Online
Prepend prefixes, append suffixes, or insert zero-padded line numbers across multi-line lists with %N% and %L% placeholders.
🔒 Runs in your browser. Your input is never uploaded.
How it works
Splits lines and injects custom prefixes, suffixes, or 0-based/1-based/padded numbers with placeholder token replacement entirely in browser memory.
Zero Telemetry: You can verify this utility's client-only execution anytime by opening your browser's Developer Tools (Network tab). No keystrokes, payloads, or clipboard contents leave your device.
Frequently asked questions
Can I add line numbers with custom formatting?
Yes. Select 1-based, 0-based, or zero-padded numbering, or insert %N% inside your custom prefix to position numbers anywhere.
Can empty lines be skipped?
Yes. Check the "Skip empty lines" toggle to preserve blank line spacing without adding prefixes.