How do I add text to each line online?
Paste your lines, type the prefix (start) and/or suffix (end) text, and the tool rewrites every line instantly. Use it for quotes, commas, HTML tags, or line numbers in bulk.
How do I add a prefix to each line?
Enter the text in the Prefix field, for example "- " for bullets or "// " for comments. Every non-empty line gets it prepended; empty lines can be skipped with the Skip Empty Lines option.
How do I add a suffix to each line?
Type the ending text in the Suffix field, for example "," to comma-separate values or ";" to terminate statements. Combine with a prefix to wrap lines, e.g. "(" ... "),".
How do I wrap each line in quotes?
Set Prefix to a double quote and Suffix to a double quote plus comma: " then ",. The lines apple, banana become "apple", "banana", ready for JavaScript arrays or CSV.
How do I turn lines into an HTML list?
Use prefix <li> and suffix </li>. Each line becomes a list item you can paste inside <ul> tags. The tool HTML-escapes nothing, so your tags stay intact.
How do I add line numbers to text?
Enable Add Line Numbers. Each line gets a sequential number prefix (1. , 2. , ...). Combine with Trim Each Line first so numbering aligns on clean text.
Can I number lines with custom formats?
Yes. Add the numbers first, then use prefix/suffix around them, for example prefix "[" and suffix "]" around numbered lines gives [1] text.
How do I reverse the order of lines?
Enable Reverse Line Order. The last line becomes first, useful for flipping chronological logs or newest-first lists into oldest-first.
How do I remove duplicate lines?
Use the duplicate removal option (or the dedicated Duplicate Word Remover tool). The first occurrence is kept and later repeats are dropped, preserving original order.
Can I add different text to the first or last line?
Process the bulk with prefix/suffix, then hand-edit the two edge lines, or split the input: run the tool on the middle lines separately from the first/last.
Does it handle Windows vs Unix line endings?
Yes. The tool normalizes CRLF (\r\n) and LF (\n) line endings on paste, so files from Notepad, VS Code, or macOS all process cleanly.
Is there a line limit?
The tool handles thousands of lines comfortably in the browser. For files with hundreds of thousands of lines, a local script (awk/sed) will be faster.
How do I make SQL VALUES from a list?
Set prefix to (' and suffix to '), then join lines with commas. Names become ('Alice'), ('Bob'), ready to paste into an INSERT statement.
Can I undo after processing?
The output is a new text box; your original input stays untouched above it. Re-run with different settings any time, and use the copy button to grab results.
Is my text uploaded anywhere?
No. All line processing runs locally in your browser with JavaScript. Your text never leaves your device.
What is the WhatsApp conversation generator?
A bonus mode that formats names and messages into a chat-style preview, handy for mockups, tutorials, and storytelling demos using the same line engine.