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
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Offline Custom Linter

k-quelsk-quels24 downloads

Check typos, formatting, and style consistency fully offline using customizable regex and dictionary rules. Lightweight and mobile-friendly.

Add to Obsidian
Offline Custom Linter screenshot
Offline Custom Linter screenshot
Offline Custom Linter screenshot
Offline Custom Linter screenshot
Offline Custom Linter screenshot
Offline Custom Linter screenshot
  • Overview
  • Scorecard
  • Updates1

English | 日本語

Offline Custom Linter is a fully offline proofreading plugin for Obsidian.

No AI. No cloud. No PC required if you don't need one!

Following the rules you define, it checks and fixes typos, formatting mistakes, and spelling inconsistencies in real time—even when writing a 1,000,000-character note on mobile.

You can create rules from scratch or start from downloadable base rules and customize them to your liking.

It doesn't perform complex linguistic analysis or AI suggestions, but it supports your writing with a dictionary tailored to your style.

It's a simple, somewhat old-fashioned rule-based linter, yet it has everything I need for my own writing.
If that sounds like your style, give it a try.

▼ Desktop

▼ Mobile


Key Features

1. Fully Offline & Mobile-Friendly

  • 🔒 Privacy-first: All proofreading runs offline. Your notes are never sent outside your device. (Network access is only used when you manually fetch community rules from the settings tab.)
  • 📚 Large-document performance: Runs smoothly even on mobile devices with 1,000,000-character notes.
    • Note: If a document triggers 100,000+ issues at once, things may feel a bit sluggish until you reduce them 😔

2. Flexibly Customizable Rules

  1. Consistency Detection
    • Detects mixed spellings or variants within a document.
    • Advanced Options
      • Bracket / Quote Handling: Check inside and outside brackets separately, or exclude text inside brackets from checks.
      • Kanji Boundary Guard: Intended for Japanese proofreading. Prevents false positives when a kanji is part of a compound word.
        • Example: Prevents a とき/時 rule from matching 時 inside 時間.
      • Exclude Phrases: Exclude specific phrases per rule.
        • Example: Excluding Earl Grey in a gray/grey rule prevents false positives even when gray is used elsewhere.
  2. Text Search
    • Detects and replaces exact text strings.
    • Setting a replacement lets you fix detected issues with one click (also supported in regex rules).
  3. Regex Search
    • Supports JavaScript regular expressions for advanced pattern matching.
    • Capture group references such as $1 can also be used in replacements.
    • Note: To guarantee performance on massive documents, regex matching is designed for single-line (or localized few-line) patterns.

3. Live Linting & Lint Scope

  • ✒️ Live Linting: Choose whether to check automatically as you type or only when triggered via commands.

  • 🗃️ Lint Scope: Configure the inspection range.

    • Scope: Choose from Entire note, Current section, or Parallel sections.
    • You can also limit proofreading to lines after a specified start line.
  • These settings can be configured per note, and most can also be set as Folder-specific defaults.

  • Note: Proofreading is active only in editing modes (Live Preview / Source mode).

4. Proofreading Bar

  • A fixed proofreading UI bar displayed at the top or bottom of the editor. Drag vertically to adjust its position or resize it.

  • ▼ Mobile Example

    1. Jump to previous / next issue
    2. Return cursor to previous position / last edit position (click again)
    3. Filter by rule severity
    4. Filter by rule / variant
    5. Show / hide proofreading issue list
    6. Open rule editor window
    7. Open note rule settings window

5. Rule Files

  • Loads .md files (with a json code block) or .json files from your configured vault rules folder.
  • 🖌️ Built-in Rule Editor: Create rule files and add, edit, or delete rules directly in the UI.
    • Note: When saved as .md, you can also edit rule files directly inside Obsidian.
  • 💾 CSV / TSV Import & Export: Export rules as UTF-8 (with BOM) CSV/TSV files.
    • Copying TSV directly to the clipboard is also supported for editing in spreadsheet software.
    • Re-import edited files with a diff preview.
  • Format Examples
    • Consistency (type: "consistency"):
      {"id":"consistency-us-uk-0001","type":"consistency","group":["color","colour"],"message":"Inconsistent US/UK spelling detected","severity":"info"}
      
    • Text Search (type: "text"):
      {"id":"typo-example","type":"text","pattern":"teh","expected":"the","message":"Possible typo detected","severity":"warning"}
      
    • Regex Search (type: "regex"):
      {"id":"double-space","type":"regex","pattern":"(?<=\\S) {2,}(?=\\S)","expected":" ","message":"Multiple spaces between words","severity":"info"}
      

6. Rule Scope Management (Global / Folder / Note)

  • 🌏 Global Settings: Enable or disable each loaded rule file globally.
  • 📁 Folder-Specific Defaults: Override default settings for notes inside specific folders:
    • Force enable or force disable rule files
    • Default lint scope
    • Default live linting state
  • 🗒️ Note-Level Overrides: Override settings per note via the linter-rules frontmatter property:
    • Enable or disable rule files
    • Disable individual rule IDs
    • Lint scope and live linting state
    • Tip: Click the settings icon on the Proofreading Bar to edit these options in a dedicated dialog.

7. Community Rules

  • 🌐 Community Rules Catalog: Download rule files from the official repository (or a custom URL).
  • 🔄️ Diff & Merge Updates: When updating rules, choose additions, modifications, or deletions rule by rule.

Commands

All commands are available from the Obsidian Command Palette:

Command Description
Check entire note Scans the entire note and opens the Proofreading Bar if issues are found.
Check current section Scans only under the heading at the current cursor position.
Show/hide proofreading issue list Toggles the list showing all detected issues.
Toggle proofreading bar Shows or hides the Proofreading Bar in the active editor.
Toggle live linting Enables or disables live linting.
Jump to next issue Moves the cursor/selection to the next issue (respects lint scope).
Jump to previous issue Moves the cursor/selection to the previous issue (respects lint scope).

Installation

From Obsidian Community Plugins

  1. Open Settings → Community plugins in Obsidian.
  2. Disable Restricted Mode if needed, then select Browse.
  3. Search for Offline Custom Linter and select Install, then Enable.

Manual Installation

  1. Download the zip archive or main.js, manifest.json, and styles.css from the latest GitHub Releases.
  2. Place them into <YourVault>/.obsidian/plugins/offline-custom-linter/.
  3. Reload Obsidian and enable Offline Custom Linter under Settings → Community plugins.

Quick Start After Installation

  • By default, _settings/lint-rules is created as the folder for storing rule files. You can change this in the plugin settings.
  • I recommend starting by downloading rule files from Settings → Offline Custom Linter → Community rules → Fetch rules list, then testing whether live linting underlines appear in any note.
  • Click an underline or run a command to open the Proofreading Bar.
  • If there are rules you don't want detected, you can easily disable them from the Proofreading Bar.
    • Of course, you can also delete those rules from the rule file. (Note: When updating a rule file from the server, disabled states are preserved, whereas deleted rules will prompt you on whether to re-add them as new rules.)

Included Community Rules

In Settings → Offline Custom Linter → Community rules, you can download rule packs from the official catalog (rules/rules.json).

Note: To share your own rule sets, place rules.json and rule files in your repository and specify the custom URL in settings.

Japanese Rules (rules/ja/)

  • 50_novel_symbols_ja.md (Novel & Japanese writing conventions)
    • Paired …… / ――, spacing after !?, and half-width spaces in Japanese prose.
  • 60_common_typos_ja.md (Japanese typo & doubled-particle rules)
    • Detects doubled particles (e.g., にに) and repeated punctuation typos.
  • 70_sudachi_consistency_ja.md (Sudachi-based consistency detection)
    • Japanese lexical consistency pairs extracted from SudachiDict.
  • 71_common_consistency_ja.md (Hiraku kanji & okurigana consistency)
    • Kanji/hiragana ("hiraku") and okurigana consistency rules (e.g., 時/とき).
  • 80_markdown_format_ja.md (Markdown formatting rules)
    • Full-width spaces and excessive consecutive blank lines.
  • 85_tech_terms_ja.md (Tech & Web terms consistency)
    • IT/Web terminology consistency (e.g., email / e-mail).

English Rules (rules/en/)

  • 50_punctuation_spacing_en.md (English punctuation & formatting)
    • Punctuation spacing, doubled words (e.g., the the), and common typos.
  • 70_us_uk_consistency_en.md (US/UK spelling consistency)
    • American vs. British English spelling consistency (color / colour, analyze / analyse, etc.).
  • 80_markdown_format_en.md (Markdown formatting rules)
    • Full-width spaces and excessive consecutive blank lines.
  • 85_tech_terms_en.md (Tech & Web terms consistency)
    • IT/Web terminology consistency (e.g., email / e-mail).

Note: Community Rule File Naming

The numeric prefixes in rule filenames follow the convention below.

If you publish your own rule catalog, I recommend following this numbering convention to avoid conflicts.

For local custom rule files, I recommend using 00–49, though there is no strict restriction since the plugin only uses filenames for sorting in the rule list.

[00–49: User-defined rules]
[50–: Language-specific rules]
  ├─ 50–59: Writing conventions & punctuation
  ├─ 60–69: Typos & misspellings
  └─ 70–79: Consistency & terminology
    ├─ 70: Large dictionaries
    └─ 71: Everyday & style consistency
[80–89: Localized common rules]
  ├─ 80–84: Document formatting
  └─ 85–89: Tech & Web terminology
[90–99: Special, experimental, or project-specific]
  └─ Reserved for future use

Custom Catalog Specifications & Limits

When hosting your own catalog (rules.json and rule files) and specifying a custom URL in settings, the following validation rules and limits apply for security and performance:

  • Protocol: https:// is required. http:// is permitted only for local development and private LAN addresses (localhost, *.localhost, *.local, 127.0.0.0/8, [::1], 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12).
  • Rule paths (path): Must be a relative path ending in .md or .json within the catalog base URL (no .., \, ?, #, leading /, or URL schemes).
  • Regex safety: Patterns prone to catastrophic backtracking (ReDoS)—such as nested quantifiers, ambiguous alternations under quantifiers, or quantifier bounds exceeding 1,000—are rejected with the offending rule ID shown in the error notice.
  • Size & count limits:
    • Catalog JSON: up to 5 MB / 500 items
    • Rule file: up to 20 MB / 50,000 rules
    • Consistency rule: up to 200 variants in group / 500 entries in excludePhrases
    • Field lengths: id / name up to 200 chars; pattern / message / expected up to 2,000 chars; description up to 10,000 chars

Acknowledgements & Third-Party Licenses

The community rule dictionaries included in this repository incorporate data extracted and reorganized from the following open-source projects and public-domain standards. I deeply appreciate the developers and contributors who made these resources available.

1. Sudachi Synonym Dictionary

  • Target File: rules/ja/70_sudachi_consistency_ja.md
  • Source: WorksApplications/SudachiDict (synonyms.txt)
  • Copyright: Copyright (c) 2017-2024 Works Applications Co., Ltd.
  • License: Apache License, Version 2.0
  • Modifications: Filtered to exclude domain-specific terms, alphanumeric/plural noise, and extract canonical forms before converting to consistency rules. See tools/build_sudachi_consistency.py for details.

2. textlint-rule-ja-hiraku

  • Target File: rules/ja/71_common_consistency_ja.md
  • Source: akiomik/textlint-rule-ja-hiraku
  • Copyright: Copyright (c) Akiomi Kamakura
  • License: Apache License, Version 2.0
  • Modifications: Extracted kanji and hiragana surface-form pairs by part of speech and reorganized them into consistency detection rules. See tools/build_common_consistency.py for details.

3. Agency for Cultural Affairs — Okurigana & Official Document Guidelines

  • Target File: rules/ja/71_common_consistency_ja.md
  • Source: Japanese Cabinet Notification Okurigana no Tsukekata (送り仮名の付け方) & Official Document Character Guidelines
  • License: Public Domain (official government notifications under Article 13 of the Japanese Copyright Act).

4. SCOWL VarCon — Variant Conversion Info

  • Target File: rules/en/70_us_uk_consistency_en.md
  • Source: SCOWL (Spell Checker Oriented Word Lists) - VarCon (Version 2020.12.07)
  • Copyright:
    • Copyright (c) 2000-2020 Kevin Atkinson and Benjamin Titze (MIT / BSD-style permissive license)
    • Original Ispell word lists: Copyright (c) 1993 Geoff Kuenning (Modified BSD-style license, clause 4 removed with permission)
  • Modifications: Extracted US vs. UK spelling pairs (SCOWL level <= 50) and reorganized them into consistency rule groups.

Support

If you enjoy Offline Custom Linter, your support is greatly appreciated!


License

This software is released under the MIT License.
Copyright (c) 2020-2026 quels (<@k-quels>)

HealthExcellent
ReviewPassed
About
Check and fix typos, formatting mistakes, and spelling inconsistencies in real time. Built as a fully offline, rule-based linter, it runs smoothly even on mobile devices and very large notes. You can easily create and customize text, regex, and consistency rules with replacements and exclusions. For Japanese writing, it also includes kanji boundary guards and an extensive set of sample rule dictionaries.
EditingWritingLanguages
Details
Current version
1.0.0
Last updated
6 days ago
Created
Last month
Updates
1 release
Downloads
24
Compatible with
Obsidian 1.8.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
k-quelsk-quels
kuma.quels.net/
GitHubk-quels
Blueskyquels.bsky.social
  1. Community
  2. Plugins
  3. Editing
  4. Offline Custom Linter

Related plugins

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Meta Bind

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

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Text Format

Format selected text upper/lower/capitalize.

Emoji Toolbar

Quickly search for and insert emojis into your editor.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Longform

Helps you write and edit novels, screenplays, and other long projects.