Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Highlight Non-ASCII

saltyfireballsaltyfireball33 downloads

Highlights non-ASCII characters in your notes with a red background in both Edit and Reading views.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates13

An Obsidian plugin that highlights any character outside the standard ASCII range (0x00-0x7F) in both Edit Mode (Live Preview) and Reading View.

Useful for catching invisible Unicode characters, accidental special characters, or non-standard punctuation in your notes.

Features

  • Highlights non-ASCII characters with a visible red background

  • Works in Edit Mode (Live Preview) with optional Reading View support

  • Auto-replace -- batch replace common non-ASCII characters with ASCII equivalents via the command palette

  • Configurable replacement rules with a find/replace list in settings

  • Configurable allowlist to exclude specific characters (accented letters, emojis, etc.)

  • Per-note control via frontmatter

  • Status bar counter -- shows the number of non-ASCII characters in the current note alongside Obsidian's word and character counts

  • Reading view toggle -- optionally enable highlighting in preview/reading mode (off by default)

  • Customizable highlight CSS

  • Toggle on/off from settings or the command palette

    Example of Hightlights in action

Usage

  1. Install and enable the plugin.

  2. Non-ASCII characters will be highlighted automatically.

  3. Use Settings > Highlight Non-ASCII to configure:

    • Enable highlighting -- toggle the feature on or off
    • Highlight in reading view -- enable highlighting in preview/reading mode (off by default, since edit mode is usually sufficient)
    • Allowed characters -- paste characters that should NOT be highlighted (e.g. accented letters, specific emojis)
    • Custom CSS -- edit the highlight style directly
  4. Use the command palette: Toggle non-ASCII highlighting to quickly enable/disable.

    Example of Hightlights in action

Auto-replace

The plugin includes a batch replacement feature for cleaning up common non-ASCII characters like curly quotes, em dashes, and non-breaking spaces.

How to use

  1. Open a note that contains non-ASCII characters
  2. Open the command palette (Ctrl/Cmd + P)
  3. Run Highlight Non-ASCII: Auto replace non-ASCII characters
  4. All matching characters in the note will be replaced according to your configured rules

Default replacement rules

The plugin comes with these defaults out of the box:

Find Replace Description
' (U+2018) ' Left single curly quote
' (U+2019) ' Right single curly quote
" (U+201C) " Left double curly quote
" (U+201D) " Right double curly quote
-- (U+2013) - En dash
--- (U+2014) -- Em dash
... (U+2026) ... Horizontal ellipsis
(U+00A0) Non-breaking space

Customizing rules

You can add, edit, or remove replacement rules in Settings > Highlight Non-ASCII under the Auto-replace rules section. Each rule shows:

  • Find -- the character to search for
  • Replace -- the text to replace it with
  • Unicode codepoint -- the U+ identifier for the find character
  • Remove button to delete the rule

Click Add rule to create a new find/replace pair.

Example of Hightlights in action

Disabling for specific notes

Add the following frontmatter to any note where you want to turn off highlighting:

---
highlight-non-ascii: false
---

If the property is missing or set to true, highlighting remains active (as long as the global toggle is enabled).

Installation

Obsidian Community Plugin

This plugin is available in the official Obsidian community plugin directory. Install it from Settings > Community plugins > Browse and search for "Highlight Non-ASCII" or "Highlight Non-ASCII by saltyfireball".

License

MIT -- see LICENSE for details.

84%
HealthExcellent
ReviewSatisfactory
About
Highlight characters outside the ASCII range in Edit Mode (Live Preview) and optionally in Reading View with a visible background to reveal invisible or special Unicode. Auto-replace common non-ASCII characters with configurable find/replace rules, set an allowlist and per-note control, and view a status-bar counter.
EditingStatus barFormatting
Details
Current version
1.1.9
Last updated
16 hours ago
Created
3 months ago
Updates
13 releases
Downloads
33
Compatible with
Obsidian 1.0.0+
License
MIT
Report bugRequest featureReport plugin
Author
saltyfireballsaltyfireball
GitHubsaltyfireball
  1. Community
  2. Plugins
  3. Editing
  4. Highlight Non-ASCII

Related plugins

Colored Text

Color the selected texts.

List Callouts

Create simple callouts in lists.

Symbols Prettifier

Prettify the symbols with actual symbols you commonly type, like arrows.

Smart Typography

Convert quotes to curly quotes, dashes to em dashes, and periods to ellipses.

Number Headings

Automatically number or re-number headings.

Easy Typing

Auto format when typing.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Outliner

Work with your lists like in Workflowy or Roam Research.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Various Complements

Complete words similar to auto-completion in an IDE.