Skip to content
UniKit

List numbering for rich text

Add 1-N numbering to rich-text lists from the clipboard: handles ul/ol markup and plain text lines with configurable style, start value and untouched HTML structure.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Numbered list

The number is inserted at the start of each item; list tags and other attributes stay unchanged.

Paste a list to add 1-N numbering automatically

What this tool does

  • Turn an unordered AI answer (<ul><li>…</li></ul>) into a numbered list so the numbering survives a paste into documents or newsletters.
  • Tidy plain-text lists such as meeting notes or requirement lists: the old - / * prefixes are stripped and replaced with one consistent numbering scheme.
  • Switch style (1) or [1]) with one dropdown and start at any number so the list continues from the previous section.

Example

Input

<ul><li>先读题</li><li>再计算</li></ul>

Output

<ul><li>1. 先读题</li><li>2. 再计算</li></ul>

By default <ul> is processed, numbering starts at 1 and the style is "1."; <ol> is skipped because it numbers itself.

Frequently asked questions

What happens to lists that already have numbers?

In plain-text mode the leading - / * / • or 1. / 1) / 1、 prefixes are removed before renumbering, so running it twice never produces "1. 1. xxx". In HTML mode the items are renumbered by their <li> order, so any number text inside the item is kept instead.

Why was my <ol> left alone?

Ordered lists are skipped by default because the browser already renders their numbers; inserting another would give "1. 1. xxx". Enable "renumber <ol> as well" when you really want to rewrite them.

How are nested lists handled?

Each nested <ul> / <ol> is numbered as its own block starting from the configured start value, with indentation and hierarchy preserved. Plain-text mode instead keeps whatever leading whitespace each line had.

Does it touch anything outside the list?

No. Paragraphs, headings and tables are left untouched; only the beginning of each list item inside a list block is rewritten, entirely in the browser with no clipboard upload.

Keywords:list numberingnumbered listclipboard html

Related tools