Sidebar or Side-bar?
Sidebar is the standard one-word spelling in US English. Learn when a hyphenated form still fits, and when hyphen and dash tools help or cause problems.
The short answer
In ordinary US English prose, write “sidebar” as one word. Major American dictionaries list the closed form for the noun in its common senses. These include a short article set beside a main story, a panel along the edge of a page or app window, a digression in conversation, and a bench conference in a courtroom. You will still see “side-bar” and “side bar,” but most edited writing treats them as dated or nonstandard. If your publication follows a house style guide, use whatever that guide specifies.
The hyphenated form is still correct when it is part of something you cannot rename. Examples are a CSS class or file named side-bar, a quoted title, or a product name. In those cases the hyphen is part of an identifier, and changing it changes what a program or reader is looking for.
Should you use a hyphen or dash tool for this?
Punctuation tools that normalize compounds or convert typed hyphens into typographic hyphens and dashes help with long prose drafts, where consistency is hard to keep by hand. The main tradeoff is that these tools work on characters, not meaning. A tool cannot tell prose “side-bar” apart from a CSS class, a URL slug, a variable name or a quotation. Use such a tool on running text you have checked. Leave the plain keyboard hyphen alone in code, slugs, file names, form fields, data exports and anything that may be pasted into a terminal or search box.
What the transformation actually changes
Hyphen and dash tools perform Unicode character substitution. They swap or delete stored characters, so the change goes wherever the text goes. CSS styling works differently because it only changes how text looks. For example, the CSS property hyphens: auto lets a browser show break hyphens at line ends without adding any character to the text. Closing “side-bar” into “sidebar” removes one stored character, and the word goes from eight characters to seven. Replacing the keyboard hyphen with a Unicode hyphen keeps the same length and appearance but uses a different code point.
| Character | Code point | Typical use | Concern for “side-bar” |
| Hyphen-minus | U+002D | The keyboard hyphen; code, URLs, most typed compounds | Safest choice; matches what people type |
| Hyphen | U+2010 | Typographically dedicated hyphen | Looks the same as U+002D but is a different character; font support varies |
| Non-breaking hyphen | U+2011 | Keeps both halves of a compound on one line | Same matching problem as U+2010 |
| Soft hyphen | U+00AD | Invisible line-break opportunity | Usually invisible but still stored; can interfere with exact matching |
| En dash | U+2013 | Ranges and some compound links | Not a hyphen; wrong in this word |
| Em dash | U+2014 | Breaks within a sentence | Not a hyphen; wrong in this word |
The forms below may look identical, but each is stored differently:
side-bar separator U+002D HYPHEN-MINUS
side‐bar separator U+2010 HYPHEN
side‑bar separator U+2011 NON-BREAKING HYPHEN
sidebar no separator
Will the result stay usable after copying or sharing?
Copying and pasting: Pasted text keeps whichever hyphen character it contains. In code, that matters a lot. A selector or variable written with U+2010 is a different name from one written with the keyboard hyphen, so it will not match. Some languages may not accept it at all.
Search and find: Many find-in-page features and search fields match characters exactly. If you search for “side-bar” with the keyboard hyphen, you may not find copies that use U+2010 or contain a soft hyphen. Some search systems normalize these characters, but behavior varies by product, and no product was tested for this review. Using the closed form “sidebar” avoids the problem entirely.
Assistive technology: Whether a screen reader announces a hyphen, and how it reads the different dash characters, depends on the screen reader and its punctuation settings. No scoped test with a specific screen reader was available here, so treat this as unverified. A plain one-word “sidebar” gives a screen reader an ordinary word to pronounce. If you use typographic hyphens, test with the assistive technology your audience actually uses.
Editing: Collaborators cannot see which hyphen character is in the text, and soft hyphens are invisible. Lookalike characters cause confusing find-and-replace misses and inconsistent revisions later on.
When to keep plain text
- Code, CSS class names, file names and configuration values
- URLs, slugs and anything a reader might type by hand
- Search keywords, tags and metadata fields
- Spreadsheets, databases and data exports that may be matched exactly
- Text headed for a destination you have not tested for rendering or screen reader output
Checking which character you have
Since these characters look alike, the reliable way to check is to inspect the code points. A short script with Python's standard library prints the name of each character:
import unicodedata
text = "side\u2010bar"
for ch in text:
print(f"U+{ord(ch):04X} {unicodedata.name(ch, '?')}")
Any line reporting something other than HYPHEN-MINUS at the separator means a substitution happened. Many text editors also offer a setting or extension that highlights invisible or non-ASCII characters.
Limits of this review
No evidence about a specific hyphen or dash tool was supplied. This review therefore does not assess any tool's accuracy, privacy or data retention. Statements about search engines, applications and screen readers describe general character behavior, not measured results. Check them against the destinations you rely on.