Small SEO Tools

How to Turn a Plain Text List into Markdown Bullets

A short list copied from notes may have one entry per line but no Markdown markers. You can add a hyphen and a space to each entry in one pass, keeping the original order and intentional repeats.

Use this procedure on short, unformatted items, one per unindented line. Keep the original saved separately so you can review the change.

Prepare the plain list

Open Find and Replace Text and paste these three lines into Your text, without an extra newline at the end.

Buy seeds
Bring a tray
Buy seeds

The repeated first and last entries should both remain. This operation adds formatting to each item.

Add a marker at each eligible line start

Turn on Use regular expression and Replace all. Leave Whole word only and Match case off.

Enter this in Find, using single backslashes and no surrounding slashes or flags.

(^|\r?\n)(?=[^ \t\r\n])

Set Replace with to the following text. Include the ordinary space after the hyphen.

$1- 

Click Replace. The separate result shows the Markdown source.

- Buy seeds
- Bring a tray
- Buy seeds

Expect 3 replacements, 32 characters before and 38 after. Each item gained two characters, and both copies of Buy seeds remain.

Keep boundaries and preview the list

The first group captures the beginning of the input or an LF or CRLF line break. The $1 replacement restores that captured boundary before adding the marker. The current tool supports this numbered replacement token. See the MDN replacement reference.

The lookahead requires a following character other than an ordinary space, tab, carriage return or line feed. Empty lines receive no marker, and lines beginning with spaces or tabs are skipped. The replacement restores the line break captured from the input.

Copy the result into the source field of your Markdown editor and open its preview. Under CommonMark rules, a hyphen followed by a space can introduce a bullet item. The sample renders as one bullet list with three items. See the CommonMark list item specification.

Review one pass against the saved original

Check the three rendered items in order and confirm the repeated entry survived. Apply the transformation once to the plain original. Running it again on the generated output adds a second marker to each line.

Keep the selection within the stated format of one plain item per unindented line. Review any existing Markdown syntax or more complex item structure in the destination editor. For a longer list, the draft comparison workflow helps check that the wording stayed intact.