# Notepad++

**Notepad++** 是一款自由（既指“自由言论”意义上的自由，也指“免费啤酒”意义上的免费）的源代码编辑器，也是 [Microsoft Windows](https://www.edgepedia.org/zh/microsoft-windows) 上记事本的替代品，支持多种编程语言和自然语言，其使用受 GNU 通用公共许可证约束。<sup>[1](https://notepad-plus-plus.org/)</sup><sup> • </sup><sup>[2](https://github.com/notepad-plus-plus/notepad-plus-plus/)</sup> 它基于 Scintilla 编辑组件用 C++ 编写，使用纯 Win32 API 和[标准模板库](https://www.edgepedia.org/zh/standard-template-library)，项目方称这一组合相比更重量级的框架能确保更高的执行速度和更小的程序体积。<sup>[1](https://notepad-plus-plus.org/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 面向 MS Windows 的自由源代码编辑器和记事本替代品，采用 GNU 通用公共许可证授权<sup>[1](https://notepad-plus-plus.org/)</sup> |
| 引擎 | 用 C++ 编写，采用纯 Win32 API 和 STL，构建于 Scintilla 编辑组件之上<sup>[1](https://notepad-plus-plus.org/)</sup> |
| 语言支持 | 约 80 种编程语言，支持语法高亮和代码折叠<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup> |
| 可扩展性 | 自 3.1 版起提供插件系统，通过内置的插件管理工具进行管理<sup>[4](https://notepad-plus-plus.org/resources/)</sup><sup> • </sup><sup>[5](https://realpython.com/ref/code-editors-ides/notepad-plus-plus/)</sup> |
| 版本构建 | 64 位、ARM 64 位和 32 位 Windows 构建；提供安装程序、面向 IT 部署的 MSI 以及便携版<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup> |
| 当前版本 | v8.x 系列，文档记录至 v8.9.8.1<sup>[6](https://www.npp-user-manual.org/)</sup> |
| 签名 | 自 v8.9 起，发布二进制文件仅使用 GlobalSign 签发的证书签名<sup>[4](https://notepad-plus-plus.org/resources/)</sup> |

## 功能与架构

Notepad++ 基于强大的编辑组件 Scintilla。项目方将编辑器更高的执行速度和更小的程序体积归因于其实现选择：C++ 配合纯 Win32 API 和 STL。<sup>[1](https://notepad-plus-plus.org/)</sup> 项目方还将低 CPU 占用作为一项效率特性来宣传，认为当 PC 使用更少的 CPU 算力时，可以降频运转，从而降低功耗。<sup>[1](https://notepad-plus-plus.org/)</sup>

在这一引擎之上，编辑器支持约 80 种编程语言的语法高亮和代码折叠，并通过其标签式编辑界面支持在单一窗口中处理多个打开的文件。<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup> 编辑与导航功能包括支持正则表达式的搜索和替换、多光标与多点编辑功能，以及列编辑。<sup>[5](https://realpython.com/ref/code-editors-ides/notepad-plus-plus/)</sup> 自 8.0 版起，Notepad++ 提供内置深色模式，可设置为跟随 Windows 的浅色/深色设置。<sup>[5](https://realpython.com/ref/code-editors-ides/notepad-plus-plus/)</sup>

## 用户自定义语言与插件

**用户语言定义系统（UDL）** 允许用户定义自己的语言：不仅是语法高亮的关键字定义，还包括语法折叠关键字定义、注释关键字定义和运算符定义。<sup>[4](https://notepad-plus-plus.org/resources/)</sup>

Notepad++ 自 3.1 版起就有插件系统，这赋予了编辑器扩展能力。<sup>[4](https://notepad-plus-plus.org/resources/)</sup> 应用程序内置插件管理工具，用于安装、更新和移除插件。<sup>[5](https://realpython.com/ref/code-editors-ides/notepad-plus-plus/)</sup>

## 发行、平台与部署

Notepad++ 运行于 MS Windows 环境。<sup>[1](https://notepad-plus-plus.org/)</sup> 下载提供 64 位、ARM 64 位或 32 位构建，用户需自行确定其系统需要哪一种。<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup> 面向组织用户，提供 MSI 安装程序，以便 IT 部门在整个组织内部署 Notepad++。<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup>

**便携版** 将应用程序、设置和插件存放在同一文件夹层级中，默认不修改操作系统设置，因此没有文件关联，也没有“用 Notepad++ 编辑”的右键菜单项。迷你便携版则进一步精简：仅附带默认的浅色和深色主题、英文界面语言，不含插件或插件管理工具。<sup>[3](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)</sup>

## 2023 年以来的版本发布与代码签名

有文档记录的发布系列为 v8.x，目前最新至 v8.9.8.1。<sup>[6](https://www.npp-user-manual.org/)</sup> 这一时期内的一项变化涉及代码签名。从 8.8.2 版开始，Notepad++ 发布二进制文件携带自签名代码签名证书；该证书在 v8.9 中被移除。从 8.9 版开始，发布二进制文件仅使用 GlobalSign 签发的证书签名，项目方强烈建议此前安装过自签名根证书的用户将其移除。<sup>[4](https://notepad-plus-plus.org/resources/)</sup>

## 许可证与治理

Notepad++ 是自由软件，其权利受 GNU 通用公共许可证保护，源代码托管在 GitHub 的官方 notepad-plus-plus 仓库中。<sup>[4](https://notepad-plus-plus.org/resources/)</sup><sup> • </sup><sup>[2](https://github.com/notepad-plus-plus/notepad-plus-plus/)</sup> 官方用户手册介绍的是 Notepad++ 应用程序 v8.x，目前最新至 v8.9.8.1。<sup>[6](https://www.npp-user-manual.org/)</sup>

## References

1. [Notepad++ official website](https://notepad-plus-plus.org/)
2. [notepad-plus-plus/notepad-plus-plus, official GitHub repository](https://github.com/notepad-plus-plus/notepad-plus-plus/)
3. [Notepad++ User Manual, Getting Started](https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/getting-started.md)
4. [Resources, Notepad++ official website](https://notepad-plus-plus.org/resources/)
5. [Notepad++ | Code Editors & IDEs, Real Python](https://realpython.com/ref/code-editors-ides/notepad-plus-plus/)
6. [Notepad++ User Manual](https://www.npp-user-manual.org/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 25, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Build, deployment, and development tooling

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/notepad

English original: https://www.edgepedia.org/notepad
