ヘッダーとフッターを追加
全ページの上下6か所のどこにでも、文字を入れられます。
このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。
このツールでできること
Six independent slots - left, centre and right, at the top and at the foot - because that is the arrangement printed documents actually use: a title on the left, a page number on the right, a confidentiality line centred at the bottom. Each slot takes plain text, tokens, or both, and the text is drawn into the page rather than added as a separate layer.
Use it on a document assembled from several sources that needs to read as one, on a bundle that has to carry a case name on every sheet, or on drafts that need a date so nobody argues about which version they are holding.
仕組み
- Drop the PDF onto this page.
- Type into whichever of the six slots you need. At least one must have something in it; the bottom-right slot starts with {page}.
- Use tokens where the text should differ per page or per document: {page}, {pages}, {date}, {filename}, {title}, {author}.
- Set the size, colour and margins so the text clears the document's own content.
- Skip the cover page or give a page range under advanced options if the opening pages should stay clean.
- Press Add header and footer and the download starts.
The tokens are the same ones Add page numbers uses, deliberately: someone who has learned {page} of {pages} in one tool should not have to learn a second syntax here. {filename}, {title} and {author} are read from the document itself, so a header can carry the document's own title without your typing it. Unknown tokens are printed verbatim, which makes a typo visible rather than mysterious.
Date tokens read the clock once for the whole document. A job that starts at 23:59 and finishes at 00:01 prints one date on every page rather than two, which is the kind of detail that only surfaces later, in a document nobody can now explain. {date}, {time} and {datetime} are formatted for the page's language, falling back to English formatting for a locale tag the browser does not know.
Margins are exposed rather than guessed. A document whose own text runs close to the sheet edge will collide with a header at any default inset, and the alternative - quietly scaling every page down to make room - would change every measurement in the document to fix something you can see and correct with one slider. Raise the margin or reduce the size, and check page 1 before committing.
Skip the cover page removes page 1 from the pages that get stamped; it does not change what the stamps say, so page 2 still reads 2. Use a page range instead when the front matter runs to several pages. Start counting at shifts every printed number by a fixed amount, for a document that continues another.
The font is embedded, so accented characters and Cyrillic print correctly even on readers that would otherwise substitute a face of their own. CJK, Arabic and Indic are outside what that set covers.
このツールにできないこと
- The text is drawn on top of the existing page and the page is never resized to make room for it. On a document whose content already runs close to the edge, a header or footer will overlap it; the fix is a larger margin or a smaller size, not a different tool.
よくある質問
- ヘッダーやフッターの枠には何を入力できますか?
- 任意のテキストに加えて、波かっこで囲んだトークンが使えます。{page}と{pages}はページ番号と総ページ数、{roman}と{ROMAN}はローマ数字、{filename}・{title}・{author}はドキュメントから、{date}・{time}・{datetime}は時計から取ります。たとえば 社外秘 - {title} - {page} / {pages}ページ と入力すれば、トークンが埋まった状態でそのとおり印字されます。
- フッターが本文に重なってしまいます。何を変えればよいですか?
- 下の余白を大きくするか、フォントサイズを小さくするか、空いている枠にその文字を移してください。場所を空けるためにページを縮小することは、意図的に行いません。縮小すると、ドキュメント内のあらゆる寸法が動いてしまうためです。たいていのドキュメントは24ポイントで十分な余白がありますが、文字の詰まったものはもっと必要です。
- 表紙を何も入れないままにするには?
- 詳細設定の「表紙を飛ばす」をオンにしてください。1ページ目はそのままで、それ以外に押されます。前付けが2ページ以上ある場合は、代わりにページ範囲を使ってください。4- と書けば4ページ目以降に押されます。
- フッターに今日の日付を表示できますか?
- できます。{date}は中くらいの長さの日付、{time}は時刻、{datetime}は両方を印字します。時計は処理の開始時に一度だけ読むので、全ページで同じ値になります。表示形式は、このページを見ている言語に合わせて整えられます。
- ファイルはサーバーへ送られますか?
- いいえ。ドキュメントの読み込み・押印・書き出しはすべてブラウザーの中で行われ、{title}と{author}の元になる情報も、どこかに問い合わせるのではなく目の前のファイルから読み取ります。送信は一切なく、ページを一度読み込めばオフラインでも動作します。