🔢 PDF 添加页码Add Page Numbers to PDF
给 PDF 添加页码:可选“1”“第 1 页 / 共 N 页”“Page 1 of N”等格式或自定义,放在页眉或页脚的左、中、右,双面打印可奇偶页左右交替;可设置起始页码、字号、颜色和边距,只给指定页加页码(例如跳过封面),横向和旋转页面也会正确摆放。全部在浏览器本地完成。Add page numbers to a PDF — "1", "1 / N", "Page 1 of N", "- 1 -" and other formats or your own, in the header or footer at left, centre or right, alternating left/right for double-sided printing. Set the starting number, font size, colour and margin, number only some pages (skip the cover, for example), and landscape or rotated pages are placed correctly. Everything runs locally in your browser.
使用说明与常见问题How-to & FAQ
「PDF 添加页码」是什么?What is the Add Page Numbers to PDF tool?
给 PDF 添加页码:可选“1”“第 1 页 / 共 N 页”“Page 1 of N”等格式或自定义,放在页眉或页脚的左、中、右,双面打印可奇偶页左右交替;可设置起始页码、字号、颜色和边距,只给指定页加页码(例如跳过封面),横向和旋转页面也会正确摆放。全部在浏览器本地完成。Add page numbers to a PDF — "1", "1 / N", "Page 1 of N", "- 1 -" and other formats or your own, in the header or footer at left, centre or right, alternating left/right for double-sided printing. Set the starting number, font size, colour and margin, number only some pages (skip the cover, for example), and landscape or rotated pages are placed correctly. Everything runs locally in your browser.
如何使用「PDF 添加页码」?How do I use the Add Page Numbers to PDF tool?
选择或拖入 PDF,选择页码格式(或自定义,{n} 为页码、{N} 为总页数)和位置,设置起始页码、字号、边距、颜色以及只给哪些页加页码,然后点「添加页码并下载」。加密的 PDF 选中后会出现密码框,先输入密码并点「打开」。Choose or drop a PDF, pick a number format (or a custom one, where {n} is the page number and {N} the total) and a position, set the starting number, font size, margin, colour and which pages to number, then click "Add page numbers & download". For an encrypted PDF a password box appears; enter the password and click Open first.
页码可以从第 2 页开始、跳过封面吗?Can numbering start on page 2 and skip the cover?
可以。在“只给这些页加页码”里填 2-(第 2 页到最后),封面就不会加页码;“起始页码”决定第一个被编号页面显示的数字,例如填 1 时第 2 页显示 1。“共 N 页”里的 N 是被编号的页数加上起始页码减 1,也就是最后一个页码。Yes. Enter 2- (page 2 to the end) under Number only these pages and the cover is left alone. Start at sets the number shown on the first numbered page — with 1, page 2 shows 1. The N in Page 1 of N is the last number shown, i.e. the number of numbered pages plus the start number minus one.
双面打印的“奇偶页左右交替”是什么意思?What does the double-sided option do?
书籍和双面打印的文档通常把页码放在外侧:奇数页(右手页)在右下角,偶数页(左手页)在左下角。勾选后选择“左侧”或“右侧”位置都会按页码的奇偶自动交替;选“居中”时不受影响。Books and double-sided documents usually put page numbers on the outer edge: odd (right-hand) pages at the right, even (left-hand) pages at the left. With the option ticked, a left or right position alternates automatically by odd and even number; centred positions aren't affected.
自定义格式怎么写?支持中文吗?How do I write a custom format? Is Chinese supported?
用 {n} 代表页码、{N} 代表最后一个页码,其余文字原样显示,例如“第 {n} 页,共 {N} 页”“Chapter 3 – {n}”“{n}/{N}”。中文、日文、韩文会自动嵌入所需字形的字体子集,其他文字使用 Helvetica。Use {n} for the page number and {N} for the last number; everything else is shown as written, e.g. "Page {n} of {N}", "Chapter 3 – {n}" or "{n}/{N}". For Chinese, Japanese and Korean a subset of a suitable font is embedded automatically; other text uses Helvetica.
横向页面或旋转过的页面会放错位置吗?Will landscape or rotated pages be numbered in the wrong place?
不会。工具按页面实际显示的方向(包括 PDF 里设置的 90°/180°/270° 旋转)计算位置,页码总是正向显示在你看到的页脚或页眉;如果页面有裁剪框(CropBox),页码会放在可见区域内。No. Positions are worked out from how each page is actually displayed, including 90°/180°/270° rotation set in the PDF, so numbers are always upright in the footer or header you see. If a page has a crop box, the number is placed inside the visible area.
文件会上传吗?加密的 PDF 可以吗?Is the file uploaded? What about encrypted PDFs?
不会上传,全部在浏览器里完成,原有的文字、图片、链接和书签都会保留。有打开密码的 PDF 需要先输入密码;输出的文件不再加密。No. Everything happens in your browser, and existing text, images, links and bookmarks are kept. PDFs with an open password need the password first; the output is not encrypted.
有哪些选项可以调整?What options can I adjust?
「PDF 添加页码」的设置:「打开密码」可留空;「格式」可选 1, 2, 3、1、第 1 页、第 1 页、Page 1 of N、Page 1等(默认 1, 2, 3);「自定义({n}=页码,{N}=总页数)」默认 第 {n} 页;「位置」可选 页脚居中、页脚右侧、页脚左侧、页眉居中、页眉右侧、页眉左侧(默认 页脚居中);「起始页码」默认 1;「字号」默认 11;「边距(毫米)」默认 10;「颜色」默认 #333333;「只给这些页加页码(留空为全部)」可留空;可勾选:「双面打印:奇数页在右、偶数页在左」;可选文件:PDF。每次生成结果都按当前设置处理。Settings in the Add Page Numbers to PDF — "Password" optional; "Format": 1, 2, 3, N, 共 N 页, 第 1 页, Page 1 of N, Page 1, etc. (default 1, 2, 3); "Custom ({n} = number, {N} = total)" default 第 {n} 页; "Position": Bottom centre, Bottom right, Bottom left, Top centre, Top right, Top left (default Bottom centre); "Start at" default 1; "Font size" default 11; "Margin (mm)" default 10; "Colour" default #333333; "Number only these pages (empty = all)" optional; tick boxes: "Double-sided: odd pages right, even pages left"…
「PDF 添加页码」免费吗?需要注册吗?Is the Add Page Numbers to PDF free? Do I need an account?
「PDF 添加页码」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Add Page Numbers to PDF is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.