Dotted Line Unicode Characters

A practical review of dotted line Unicode characters: which code points draw dotted or dashed lines, what they change in stored text, and when plain text or CSS works better.

Dotted line Unicode characters are real characters stored in text, not a visual effect. That makes them portable in a way that styling is not, but it also means every copy, search, screen reader and font has to deal with them. This review explains what these characters are, how the main groups differ, and when a plain-text or CSS alternative is the better choice.

Short answer: are dotted line characters suitable for your use?

They work well for decorative separators in plain-text settings, such as chat messages, social bios, README files, or diagrams in monospaced text, where you cannot apply styling. The main benefit is that the dots survive copy and paste because they are characters rather than formatting.

The key tradeoff is that the dots become part of the content. Assistive technology may announce them, search and find tools treat them as text, and their appearance depends on the font of whoever views them. Use plain text, or styling such as CSS, when the line is purely visual, when the text must be searchable or editable, or when the reader may use a screen reader. A single ellipsis used as punctuation is a different case and is usually fine.

What counts as a dotted line character

Unicode has no single dotted line character. People searching for one usually need a character from one of several groups. Each group was encoded for a different purpose, so they differ in spacing, weight and font support.

Character | Code point | Unicode name | Typical role
… | U+2026 | HORIZONTAL ELLIPSIS | Punctuation; three dots on the baseline
⋯ | U+22EF | MIDLINE HORIZONTAL ELLIPSIS | Math; three dots at mid-height
⋮ | U+22EE | VERTICAL ELLIPSIS | Math; vertical three dots, also used as a menu icon
⋰ | U+22F0 | UP RIGHT DIAGONAL ELLIPSIS | Math; diagonal dots
⋱ | U+22F1 | DOWN RIGHT DIAGONAL ELLIPSIS | Math; diagonal dots, as in matrices
․ | U+2024 | ONE DOT LEADER | Leader dots
‥ | U+2025 | TWO DOT LEADER | Leader dots
︙ | U+FE19 | PRESENTATION FORM FOR VERTICAL HORIZONTAL ELLIPSIS | Ellipsis for vertical East Asian text
┄ | U+2504 | BOX DRAWINGS LIGHT TRIPLE DASH HORIZONTAL | Box drawing; broken horizontal line
┈ | U+2508 | BOX DRAWINGS LIGHT QUADRUPLE DASH HORIZONTAL | Box drawing; finer broken horizontal line
╌ | U+254C | BOX DRAWINGS LIGHT DOUBLE DASH HORIZONTAL | Box drawing; coarser broken horizontal line
┆ | U+2506 | BOX DRAWINGS LIGHT TRIPLE DASH VERTICAL | Box drawing; broken vertical line
┊ | U+250A | BOX DRAWINGS LIGHT QUADRUPLE DASH VERTICAL | Box drawing; finer broken vertical line
⁝ | U+205D | TRICOLON | Historic punctuation; three stacked dots
⁞ | U+205E | VERTICAL FOUR DOTS | Historic punctuation; four stacked dots
⸽ | U+2E3D | VERTICAL SIX DOTS | Punctuation; six stacked dots
· | U+00B7 | MIDDLE DOT | Single raised dot, often repeated by hand

Each light box-drawing dash character listed above also has a heavy counterpart at the next code point. For example, U+2505 is the heavy form of U+2504 and U+2509 is the heavy form of U+2508. In many fonts these characters render as short dashes rather than round dots. Whether a line looks dotted or dashed depends on the font, not on the code point.

What using these characters actually changes

Inserting a dotted line character adds or replaces code points in the stored text. This is unlike a dotted border or dotted underline applied with styling, which changes only how text looks and leaves the characters unchanged. The difference decides what survives copying. A CSS dotted border disappears when the text is pasted elsewhere. A row of U+2504 characters travels with the text.

/* Presentation only: the text itself is unchanged */
hr.dotted { border: none; border-top: 2px dotted currentColor; }
.term { text-decoration: underline dotted; }

Stored characters: the dots are part of the text
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄

Some text generators produce a "dotted underline font" by attaching a combining mark to each letter, commonly U+0324 COMBINING DIAERESIS BELOW. Despite the word "font," this is character substitution, not a font change. The word "text" becomes eight code points instead of four:

t U+0324  e U+0324  x U+0324  t U+0324

This approach has more drawbacks than a standalone separator line. The marks are interleaved with the letters, so a search for the plain word may not match, and editing or deleting can remove a letter and its mark separately. If such text is later reversed by a naive tool that reverses code points, each mark can end up attached to the wrong letter. A reversal that preserves meaning has to treat each base letter and its combining marks as one unit.

Ellipsis characters versus three periods

U+2026 HORIZONTAL ELLIPSIS has a compatibility decomposition to three full stops. U+2025 decomposes to two and U+2024 to one. Systems that apply compatibility normalization (NFKC or NFKD) may therefore turn them into ordinary periods. Systems that do not normalize treat "…" and "..." as different text, so a search for one may miss the other. The box-drawing dash characters have no such decomposition and stay as distinct characters.

Will the result stay readable after copying or sharing?

Copy and paste usually keeps the characters, because they are ordinary Unicode text. Whether they still look right depends on the destination.

  • Font coverage: if the destination font lacks a glyph, the system substitutes a fallback font or shows an empty box. Fallback glyphs may have a different width or weight, which breaks the line's alignment.
  • Width in terminals: box-drawing characters and the ellipsis are classified as ambiguous width in Unicode's East Asian Width property. Terminals or editors set up for East Asian text may draw them double-width, which misaligns text diagrams.
  • Line length: a separator made of repeated characters has a fixed length. On a narrow screen it may wrap onto a second line, while a CSS border adjusts to the container.
  • Search and editing: the dots are searchable text. They can show up in excerpts and previews, and they count toward character limits.
  • Normalization: a destination that normalizes text may convert ellipsis characters into periods, as described above.

Accessibility considerations

Screen readers process these as characters. Depending on the software and the user's punctuation settings, a row of dotted characters may be skipped, read as a symbol name, or read once per character. No documentation or scoped test for a specific screen reader was supplied for this review, so the exact behavior in any particular tool is unverified. Test with the assistive technology your audience uses before relying on a decorative line.

In practice, avoid long runs of dotted characters in content that will be read aloud. Avoid combining-mark "dotted fonts" for any words that matter. On web pages, draw purely decorative separators with styling or a semantic separator element instead of characters. If decorative characters must appear in markup, hide them from assistive technology and make sure the surrounding text makes sense without them.

Choosing the right option

  • Plain-text separator in chat, bios or plain documents: a short run of U+2504, U+2508 or U+00B7, kept short enough not to wrap.
  • Diagram in a monospaced text file: box-drawing dash characters, checked in the fonts and terminals your readers use.
  • Math notation: the ellipsis characters from the U+22EE–U+22F1 range, ideally inside a math-aware format.
  • Punctuation: U+2026 or three periods. Pick one and use it consistently so search behaves predictably.
  • Web page decoration or emphasis: CSS dotted borders or dotted text decoration, which leave the text unchanged.
  • Anything that must be searchable, editable or accessible: plain text without decorative characters or combining marks.

Evidence gaps

This review relies on general, verifiable properties of Unicode characters and CSS. It does not include tests of specific platforms, apps, fonts or screen readers, and it does not evaluate any particular text-generator tool, including its privacy or data handling. Rendering and accessibility claims for a named destination should be confirmed in that destination before use.