Formatting Tools

Add Prefix and Suffix

Wrap every line with matching prefix and suffix text—quote CSV fields, add markdown bullets, or bracket list items in seconds.

Add Prefix and Suffix

Set prefix/suffix or pick a preset — output updates instantly.

Live

Presets

Apply to
Clean before
Numbering
0 Input lines
0 Output lines
0 Lines wrapped
0 Empty skipped
0 Chars added
One line per row
Wrapped result

Wrapping non-empty lines with prefix ‘- ’ and no suffix.

Your text stays in your browser — nothing is uploaded.

Example

Markdown bullets

apple
banana
- apple
- banana

CSV quotes

apple
banana
"apple"
"banana"

HTML list items

apple
banana
<li>apple</li>
<li>banana</li>

SQL values

apple
banana
('apple')
('banana')

Prefix and Suffix Modes

Prefix or suffix only

Use either field alone — bullets, paths, or file extensions.

Wrap each line

Default: apply prefix and suffix to every non-empty row.

Skip empty lines

Blank rows pass through unwrapped to preserve spacing.

Whole block

Wrap the entire textarea once instead of line by line.

Numbered lists

Insert line numbers before or after the prefix.

Remove existing wrapper

Strip matching prefix/suffix before re-wrapping.

Common Uses

Markdown lists

Bullet or numbered list items for docs.

CSV quoting

Double-quote values before import.

SQL values

('value') tuples for INSERT lists.

HTML list items

<li> tags for quick prototypes.

URL paths

Prepend / to slug segments.

File extensions

Suffix .txt or .csv on filenames.

Before and After

ModeBeforeAfter
Markdownapple- apple
Quotesapple"apple"
HTML liapple<li>apple</li>
SQL valueapple('apple')
URL pathabout/about
Numberedapple1. apple

Popular Workflows

Who Uses This Tool?

Developers

Wrap log lines, HTML tags, or test fixtures.

Spreadsheet users

Quote CSV columns before import.

SQL users

Format value lists for INSERT and IN clauses.

Content creators

Build markdown bullets and outline lists.

SEO specialists

Prefix URL paths and slug lists.

Students

Format notes, citations, and study lists.

Special Cases

Empty lines

Non-empty mode skips blank rows; whole-block wraps all.

Unicode text

Accented and international characters are preserved.

Emoji

Emoji lines wrap exactly as typed.

Tabs

Tab characters stay in place unless trim is on.

Spaces

Leading/trailing spaces removed when trim is enabled.

Multiline blocks

Use whole-block mode to wrap once, not per line.

Prefix and Suffix Patterns

Bullets

Prefix - for markdown lists.

Quotes

Wrap in " for CSV/JSON.

Brackets

Use [ ] or ( ) grouping.

HTML tags

<li>…</li> list items.

SQL wrappers

('value') for IN clauses.

URL paths

Prefix / on route segments.

Frequently Asked Questions

Can prefix and suffix be different?

Yes. Set each field independently — for example prefix <li> and suffix </li> for HTML list items.

Can I add only a prefix?

Yes. Leave the suffix field empty and only the prefix is prepended to each line.

Can I add only a suffix?

Yes. Leave the prefix field empty — useful for file extensions like .txt or closing punctuation.

What does skip empty lines do?

Blank lines pass through without prefix or suffix so spacing between paragraphs is preserved.

Can I wrap lines in quotes?

Yes. Use the Quotes preset or set prefix and suffix to " for double-quoted CSV-style values.

Can I create Markdown bullet lists?

Yes. Click the Markdown bullets preset or set prefix to - with a trailing space.

Can I create HTML list items?

Yes. Use the HTML list item preset or set prefix <li> and suffix </li>.

Can I add numbers before each line?

Yes. Enable number lines before or after prefix, set a start number, or use the Numbered list preset.

Does it wrap the whole text block?

By default wrapping is per line. Enable whole-block mode to wrap the entire textarea content once.

Is my text uploaded?

No. All prefix and suffix processing runs locally in your browser — your text never leaves your device.