# Lexicon

> Free, open-source, local-first writing app with a distraction-free editor and built-in offline grammar checking for Windows, macOS, and Linux.

## Quick Links

- [Website & Downloads](https://lexicon-writer.pages.dev/)
- [GitHub Repository](https://github.com/AashishH15/Lexicon)
- [Releases & Changelog](https://github.com/AashishH15/Lexicon/releases)
- [Privacy Policy](https://lexicon-writer.pages.dev/privacy.html)
- [Terms of Service](https://lexicon-writer.pages.dev/terms.html)
- [License (MIT)](https://github.com/AashishH15/Lexicon/blob/master/LICENSE)
- [Product Launch Video](https://www.youtube.com/watch?v=LGL-8wP_CAY)
- [Discord](https://discord.gg/nDCedWH3SV)

## What Lexicon Is

A free, open-source desktop **writing app**: a distraction-free rich-text editor for essays, reports, notes, and manuscripts, with proofreading, AI rewriting, and PDF export built in. Everything runs 100% offline on the user's machine; no accounts, no cloud, no subscriptions.

## Alternatives & Comparisons

- **Grammarly alternative:** Provides free, private, offline grammar and spellchecking without sending drafts to cloud servers or requiring a paid subscription.
- **ProWritingAid & QuillBot alternative:** Includes on-device AI rewriting, tone shifts, summarization, and table generation running 100% free and locally on user hardware.

## Key Details

Lexicon runs 100% offline with zero cloud server communication. Grammar checking is powered by an embedded LanguageTool Java sidecar, and optional AI transformations run on-device using local GGUF models via llama.cpp or Ollama.

- License: MIT
- System Requirements: Windows (.exe), macOS (.dmg)
- Pricing: Free, open-source

## Core Features

- Browser extension (beta) for Chrome and Firefox that proofreads text fields on any website using the desktop app's local engine. Google Docs is not supported yet; the desktop app must be running. Install via load-unpacked (Chrome) or temporary add-on (Firefox) from GitHub Releases.
- Real-time LanguageTool grammar, spelling, punctuation, and style proofreading with inline squiggles and synchronized suggestion cards, plus a deterministic prose engine flagging passive voice (with one-click AI active-voice rewrites), 30+ clichés and filler phrases, and repetitive sentence openers.
- Readability metrics: Clarity score, Flesch-Kincaid grade level and reading ease, estimated reading/speaking time, word counts, and a visual tone distribution chart.
- 10+ offline AI writing tools: Rewrite, Concise, Summaries, Key Points, Lists & Tables, 9 Tone Shifts (Professional, Academic, Friendly, Casual, Formal, Empathetic, Persuasive, Humorous, Playful), plus user-defined Custom Tools with saved prompts.
- Built-in document templates (Academic Paper, Novel Manuscript, Minimalist Blog, Executive Summary) with a visual template gallery.
- Document export: PDF and styled HTML with print themes (Academic, Novel, Minimalist, Executive), AI-generated custom CSS ("Ask Lex to Style"), standard EPUB 3 ebooks, and native Word `.docx` where unapplied grammar suggestions export as tracked-change redlines with a configurable author name.
- Document import: `.docx` (Word, Google Docs, LibreOffice), `.md`, `.txt`, and `.html`.
- Inline and block LaTeX math ($E=mc^2$) with visual live editor previews, slash commands (/) for fast block insertions, distraction-free Focus Mode (Ctrl+Shift+F), and personal dictionary word saving.
