📖 How to Use the Online Text Appender
Prepend, append, format, or auto-number text lists in four straightforward steps:
Paste or Drop File
Paste your text lines directly into the Input workspace, drop a text file (.txt, .csv, .md), or pick a common preset.
Set Prefix & Suffix
Type the characters or tags you want at the beginning in Prefix and the end in Suffix. Insert dynamic tokens like {n} for auto-numbering.
Adjust Rules
Configure Skip Empty Lines, Trim Whitespace, or expand Advanced Controls to set start step, zero-padding, or CSV header exclusions.
Copy or Export
Review the real-time preview, copy the result to your clipboard with one click, download as a .txt file, or generate a shareable URL.
⚡ Supported Dynamic Tokens & Variable Substitution
Insert dynamic tokens inside your prefix or suffix patterns. The engine will automatically interpolate them per line:
| Variable Token | Alternative | Description | Example Output |
|---|---|---|---|
| {n} | %N% | Auto-incrementing line number with custom start, step, and zero padding | 1, 2, 3 or 01, 02, 03 |
| {len} | — | Character length of the current line | 14 |
| {total} | — | Total number of lines in the document | 150 |
| {index} | — | Zero-based line index (0, 1, 2...) | 0 |
| {line} | %L% | Replicates the current line content itself | apple |
| \n, \t | — | Interprets newline and horizontal tab escape characters | [Tab] or [Line Break] |
🛡️ 100% Client-Side Privacy Guarantee
Telekit Tools is engineered around privacy. All prepending, appending, and formatting operations execute directly inside your browser’s V8 JavaScript engine. Your texts, database queries, code snippets, and proprietary data are never uploaded to our servers, never logged, and never stored. You can disconnect your internet and continue using this utility offline seamlessly.
❓ Frequently Asked Questions
What is the Text Appender tool and what does it do?▼
The Text Appender is a free online utility that allows you to batch-prepend (prefix), append (suffix), or wrap lines of text with custom strings, line numbers, or formatting tokens instantly.
How do I add text to the beginning (prefix) versus the end (suffix) of lines?▼
Enter your desired string in the 'Prepend / Prefix' box to add text to the beginning of each line, and in the 'Append / Suffix' box to add text to the end of each line. Both operations can run simultaneously.
How can I auto-number lines with custom increments or leading zeros?▼
Insert the token {n} into your prefix or suffix, then configure the start index, step increment, and zero-padding digits in Advanced Controls (for instance, setting padding to 2 produces 01, 02, 03...).
How do I format a list into SQL IN clauses or JSON string arrays?▼
Click the 'SQL IN' or 'JSON Array' button in the 1-Click Common Presets bar. The tool automatically trims whitespace, wraps each line in quotes, and appends a comma delimiter.
How does the tool handle blank or empty lines?▼
By default, 'Skip Empty Lines' is active, which leaves whitespace-only lines untouched. You can toggle this off if you need prefixes or suffixes appended to every single line including blanks.
Can I ignore CSV headers or table header rows when appending text?▼
Yes. In Advanced Controls, enable 'Ignore First Line' to keep column headers intact while appending prefixes and suffixes strictly to data rows.
How do I insert escape sequences like tabs (\t) or line breaks (\n)?▼
Ensure 'Escapes (\n, \t)' is checked. You can type \n to insert a newline or \t to insert a horizontal tab character directly into your prefix or suffix.
Is my text data private and secure when using this tool?▼
Yes, 100%. All processing executes client-side within your web browser. No text, logs, or files are ever transmitted to or stored on our servers.