🔍

首页Home › PDF 工具PDF Tools

🔢 PDF 添加页码Add Page Numbers

给 PDF 每页加页码:可选位置(顶部/底部 × 左/中/右)和格式(1、Page 1、1 / N、第 1 页)。本地处理。Stamp page numbers on every PDF page: choose the position (top or bottom; left, centre or right) and the format (1, Page 1, 1 / N, or Chinese style). Processed locally.

点击选择或拖放 PDFClick or drop a PDF

使用说明与常见问题How-to & FAQ

「PDF 添加页码」是什么?What is the Add Page Numbers tool?

给 PDF 每页加页码:可选位置(顶部/底部 × 左/中/右)和格式(1、Page 1、1 / N、第 1 页)。本地处理。Stamp page numbers on every PDF page: choose the position (top or bottom; left, centre or right) and the format (1, Page 1, 1 / N, or Chinese style). Processed locally.

如何使用「PDF 添加页码」?How do I use the Add Page Numbers tool?

在「PDF 添加页码」中,选择或拖入文件,按需设置「起始页码」、「字号」、「位置」、「格式」等选项,然后点击「添加页码」按钮即可。加密的 PDF 会提示输入密码(出现「打开密码」栏和「打开」按钮),输入密码并点「打开」后再继续。In the Add Page Numbers: Choose or drop your files, set "Start at", "Font size", "Position", "Format", then click "Add numbers". For an encrypted PDF, the page asks for its password (a Password field and an Open button appear) — enter it, click Open, then continue.

位置和格式?Position and format?

「位置」可选底部或顶部 × 左 / 中 / 右,距页边约 24pt(左右距边约 36pt,按页面可见区域 CropBox 计算)。「格式」可选 1、Page 1、1 / N、第 1 页;1 / N 中的 N 是最后一页的页码(起始页码 + 页数 − 1),从 1 开始时就是总页数。Position: bottom or top; left, centre or right, about 24 pt from the edge (36 pt from the side), measured on the visible page area (CropBox). Format: 1, Page 1, 1 / N, or the Chinese style "Page 1". In 1 / N, N is the last page's number (start + pages − 1), which is the page count when you start at 1.

起始页码?Start number?

必须是整数(可以是 0 或负数),1.5 这样的小数会提示错误而不会被悄悄取整。出错或修改任何设置时,旧的下载链接会被清除,避免下载到过期结果。It must be a whole number (0 or negative is fine); a decimal such as 1.5 shows an error instead of being silently rounded. Any error or settings change clears the old download link so you never download a stale result.

加密或损坏的 PDF?Encrypted or damaged PDFs?

加密的 PDF 会出现「打开密码」输入框,输入后点「打开」即可;输出文件不再带打开密码。损坏的文件会显示原因(例如结构无效、文件被截断)。For an encrypted PDF a Password field appears; enter it and click Open. The output is saved without the open password. A damaged file shows the reason (for example invalid structure or a truncated file).

PDF 会上传到服务器吗?Is my PDF uploaded to a server?

不会。页码由 pdf-lib 在你的浏览器里直接写入 PDF,处理后的文件也在本地生成并下载,原文件不会离开你的设备。No. pdf-lib writes the page numbers into the PDF inside your browser, and the result is generated and downloaded locally, so the file never leaves your device.

有哪些选项可以调整?What options can I adjust?

「PDF 添加页码」的设置:「打开密码」可留空;「起始页码」默认 1;「字号」默认 12;「位置」可选 底部居中、底部左侧、底部右侧、顶部居中、顶部左侧、顶部右侧(默认 底部居中);「格式」可选 1、Page 1、1 / N、第 1 页(默认 1);可选文件:PDF。每次生成结果都按当前设置处理。Settings in the Add Page Numbers — "Password" optional; "Start at" default 1; "Font size" default 12; "Position": Bottom centre, Bottom left, Bottom right, Top centre, Top left, Top right (default Bottom centre); "Format": 1, Page 1, 1 / N, plus 1 Chinese-only option (default 1); files: PDF. The result always uses the current settings.

「PDF 添加页码」免费吗?需要注册吗?Is the Add Page Numbers free? Do I need an account?

「PDF 添加页码」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Add Page Numbers is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

💧 PDF 加水印Add Watermark📝 PDF 文字批注Annotate PDF📦 ZIP 转 PDFZip to PDF📐 按比例缩放 PDF 页面Resize PDF🔖 PDF 书签列表PDF Bookmarks🧹 清除 PDF 元数据Remove PDF Metadata🕸️ 网页 / HTML 转 PDFWebpage / HTML to PDF📝 PDF 表单填写PDF Forms⬛ PDF 转灰度PDF to Grayscale📚 PDF 合并Merge PDF✂️ PDF 拆分Split PDF📑 PDF 提取页面Extract PDF Pages

← 全部工具All tools