A fast, minimalist, extensible cross-platform text editor for programmers, with GUI and terminal versions, scriptable in Lua.
zufuliu/notepad4
A lightweight Scintilla-based text editor for Windows with syntax highlighting, code folding and auto-completion for many languages.
Open-source alternative to:Sublime Text
- Stars
- 5,065
- Forks
- 326
- Open issues
- 225
- Last commit
- 4 days ago
What is it?
Notepad4 is a text and code editor for Windows built on the Scintilla editing component. It provides syntax highlighting, code folding, auto-completion and API lists for a wide range of programming languages and document formats, including C/C++, Python, Go, Rust, JavaScript, Markdown and many others.
The project is a modern C++ rewrite of Notepad2 and Notepad2-mod. It adds features such as bookmarks, marking all occurrences of a word or selection, context-based auto-completion, color preview in call tips, and Base64 and number-base conversion. It also supports Direct2D/DirectWrite rendering, font ligatures, color emoji, and improved input for Chinese, Japanese and Korean.
The package bundles matepath, a file browser plugin derived from metapath. Builds are available for x86, x64 and ARM64 Windows, and the editor can run under Wine on other systems.
Key features
- 01Syntax highlighting, code folding and API lists for many languages and formats
- 02Auto-completion for words, functions, braces, brackets and quotes
- 03Bookmarks and marking of all occurrences of a word or selection
- 04Direct2D/DirectWrite rendering with font ligatures and color emoji
- 05Improved input and word handling for Chinese, Japanese and Korean
- 06Bundled matepath file browser plugin
Use cases
- Viewing and editing source code or config files on Windows without a full IDE
- Working with logs, CSV files or scripts in an editor that starts quickly
- Editing files in languages such as Batch, PowerShell, SQL or Makefile with syntax highlighting
Quick start
- 1
Download the latest build from the GitHub Actions or AppVeyor artifacts, or build from source following the Wiki
- 2
Build from source using the Build Notepad4 wiki guide
Things to know
- Windows only; other systems need Wine.
- Distributed mainly as development builds rather than a stable installer release.
- License is listed as NOASSERTION in metadata, though the README cites a BSD 3-Clause license.
Topics
FAQ
- What is notepad4?
- A lightweight Scintilla-based text editor for Windows with syntax highlighting, code folding and auto-completion for many languages. Notepad4 is a text and code editor for Windows built on the Scintilla editing component. It provides syntax highlighting, code folding, auto-completion and API lists for a wide range of programming languages and document formats, including C/C++, Python, Go, Rust, JavaScript, Markdown and many others.
- Is notepad4 free to use? What license does it have?
- notepad4 is open source under the Other license. Check the license terms before using it in commercial products.
- Is notepad4 still maintained?
- Actively maintained. The last commit to notepad4 was on Oct 18, 2026.
- What can I use notepad4 for?
- Viewing and editing source code or config files on Windows without a full IDE Working with logs, CSV files or scripts in an editor that starts quickly Editing files in languages such as Batch, PowerShell, SQL or Makefile with syntax highlighting
- How do I install notepad4?
- Download the latest build from the GitHub Actions or AppVeyor artifacts, or build from source following the Wiki Build from source using the Build Notepad4 wiki guide
- Where can I get notepad4?
- The source code and installation instructions are on GitHub: https://github.com/zufuliu/notepad4
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A fast, lightweight, Scintilla-based syntax-highlighting text editor for Windows, based on Notepad2 code.
A free source code editor and Notepad replacement for Windows with syntax highlighting for many programming languages.
A modern, easy-to-use terminal text editor that ships as a single static binary with no dependencies, positioned as a successor to nano.
GNU Emacs, an extensible, customizable, self-documenting real-time display text editor built around an Emacs Lisp interpreter.
A text and code editor for Android with syntax highlighting, LSP code intelligence, a built-in terminal, and extensions.