free-symbols

Horizontal Bar Symbol

The horizontal bar (―) is a punctuation mark used to separate, pause, or represent a line in text.

U+2015

The symbol “―” is called the horizontal bar (Unicode U+2015). It’s a punctuation character that can be copied for headings, lists, and design accents. Below you’ll find the exact Unicode details and ready-to-use examples.

Horizontal Bar Symbol Meaning

The horizontal bar “―” (HORIZONTAL BAR, U+2015) is a punctuation character that draws a single horizontal line in text. It’s often used as a visual separator between parts of a sentence, especially in titles, captions, and short labels. Because it’s a standalone glyph, it can also be used like an underline-style divider without relying on styling. In typography and UI text, it may appear as a simple break marker, a pause between elements, or a minimal “line” accent. When you need a consistent character across systems, prefer using the Unicode character rather than trying to approximate it with hyphens or underscores.

Common uses

  • Separating fields in a compact label (e.g., “Date ― Status”).
  • Acting as a visual divider between sections in headings and captions.
  • Indicating a pause or break in a short phrase or list item.
  • Creating a minimalist line accent in UI text or mockups.
  • Replacing multi-character underline patterns where you want a single glyph.

Examples

― Horizontal Bar Symbol (U+2015)

  • Chapter ― Introduction
  • Price ― $19.99
  • Note ― Please review the terms
  • Team ― Product & Design
  • Step 1 ― Gather requirements

Variations

Ready to copy

Technical codes

UnicodeU+2015
HTML Entity―
HTML Code―
CSS\2015

FAQ

What does the Horizontal Bar symbol mean?

The horizontal bar “―” (HORIZONTAL BAR, U+2015) is a punctuation character that draws a single horizontal line in text. It’s often used as a visual separator between parts of a sentence, especially in titles, captions, and short labels. Because it’s a standalone glyph, it can also be used like an underline-style divider without relying on styling. In typography and UI text, it may appear as a simple break marker, a pause between elements, or a minimal “line” accent. When you need a consistent character across systems, prefer using the Unicode character rather than trying to approximate it with hyphens or underscores.

Is the horizontal bar (―) the same as a hyphen (-)?

No. The horizontal bar “―” is Unicode U+2015, while the hyphen-minus “-” is a different character. They can look similar, but they are not interchangeable at the Unicode level.

What is the Unicode code point for the horizontal bar?

The horizontal bar is Unicode code point U+2015.

How can I copy it in HTML?

Use the HTML entity ―.

How do I type it in JavaScript strings?

You can use \\u{2015} (JavaScript escape for U+2015).

Related symbols