本文へスキップ

PDF フォームを作成

印刷物のような文書を、画面上で入力できるものに変えます。

お使いの端末で処理

このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。

このツールでできること

This adds real form fields to a document that has none. You draw each field where it belongs on the rendered page, and the file that comes out carries named AcroForm fields that any reader can fill - not text boxes drawn as artwork. Positions are chosen by dragging rather than typed as numbers, because a field belongs to a spot on the page and no set of coordinates would be quicker or more accurate than putting a box where the line already is.

Use it when a form keeps getting printed, filled by hand and scanned back: a leave request, a delivery note, a membership application, a supplier questionnaire. It is also what you want after designing a form in Word or InDesign, where the layout is right but nothing is fillable.

仕組み

  1. Drop the PDF onto this page. It is rendered so you work on the page you can see.
  2. Leave the proposal option on for a first pass, then accept, move or delete what it suggests.
  3. Drag out any further fields and set what each one needs: its kind, a name, a tooltip, whether it is required, and the choices for a dropdown or a radio group.
  4. Check the names. Two fields sharing a name are one field in PDF, which is right for a radio group and a bug anywhere else.
  5. Press Create form and download the fillable document.

Six kinds of field are offered and five of them are created here: a text box, a tick box, a radio group, a dropdown and a scrolling option list. A signature field is refused rather than faked, because pdf-lib can read one but not create one, and a hand-built signature field with no byte range shows in readers as a broken signature rather than an empty one. Sign PDF adds a real one.

Every field created here gets a hairline border and a pale wash, and its appearance stream is generated before anyone clicks it. This is not decoration. A field with no border and no background renders as an invisible rectangle, the person opening your form sees a blank page, clicks nothing, and concludes the form does not work.

A text box taller than 32 points is made multiline automatically, so a comments box wraps instead of scrolling one line sideways. The label you give a field is written as its tooltip, which is the only label a field carries in the file itself - readers show it on hover and screen readers read it out, so it is worth filling in even when the printed text beside the box says the same thing.

Up to 500 fields in one pass, and the names have to be unique except within a radio group, where sharing a name is what makes the buttons mutually exclusive. Automatic proposal looks for the marks that mean write here - long horizontal rules, empty boxes, rows of dots - and it proposes rather than applies, because a wrong field is more annoying to remove than a missing one is to add.

The page is rendered, the fields are placed and the document is written entirely inside your browser. A blank internal form and a signed one are treated the same way, since neither is transmitted at any point.

このツールにできないこと

  • Calculated fields, validation rules and any other JavaScript behaviour are not created. Fields here hold what someone types; they do not add a column of figures or check a format.

よくある質問

どんな種類の欄を追加できますか?
テキスト欄、チェックボックス、ラジオグループ、ドロップダウン、スクロールする選択リストです。高さが 32 ポイントを超えるテキスト欄は複数行になり、長い回答が折り返されます。1 つのグループのラジオボタンは名前を共有し、それが 1 つ選ぶと他が外れる仕組みです。それ以外の欄には、それぞれ固有の名前が必要です。
入力欄の自動提案はどのくらい当たりますか?
分かりやすいものはよく見つけます。名前を書くための罫線、チェックする空の四角、点線の並びなどです。ある罫線が名前欄ではなく署名の線だと知る手段はないので、提案するだけで、確定するのはあなたです。罫線の多い表では過剰に提案しますが、これは意図した失敗の方向です。提案を消すのはクリック 1 回で済みますが、欄の抜けに気づくのは、記入した人から苦情が来たときです。
どの PDF ビューアーでも動きますか?
AcroForm 形式の入力欄を使っており、Acrobat・プレビュー・Chrome・Firefox・Edge と主要なモバイルビューアーはいずれも対応しています。各欄の見た目はファイルに書き込まれるため、クリック前の見え方はどれでも同じです。違うのは仕上がりの細部で、入力欄を青く強調するビューアーもあれば、しないものもあり、一部の古いモバイルビューアーは欄を表示しても入力させません。
署名欄も追加できますか?
ここではできません。これは意図的です。中身のない署名欄は、署名を待つ空欄ではなく、壊れた署名としてビューアーに表示されます。「PDFに署名」を使ってください。形式が要求する順序で、欄と署名を一緒に作ります。印を描く場所が欲しいだけなら、背の高いテキスト欄か、ただの罫線で足ります。
フォームを作るために文書はアップロードされますか?
いいえ。ページはブラウザ内で PDF.js が描画し、入力欄は Web Worker 内の pdf-lib が書き込み、完成したファイルもローカルで作られます。フォームの元になる社内テンプレートも同じで、それは他人のサーバーに置きたくないものの筆頭です。

関連ツール