How to Remove Fillable Fields from PDF

Sep 2, 2024·3 Minutes Read

In this tutorial, we will show you how to remove the fillable fields from PDF. This will turn all editable objects into read-only text objects also called flattening. We will use this fillable IRS Form 1040 as a sample PDF and convert it into a read-only PDF.

Image of fillable 2019 IRS Form 1040
Image of fillable 2019 IRS Form 1040

Step 1: Choose Your App and Action Event

To get started, let’s choose PDF.co as the App and PDF Filler as the Action Event.

Use PDF.co PDF Filler To Flatten Document

Step 2: Set Up PDF Filler Action

Let’s set up the PDF Filler action.

  • In the Source PDF field, enter or select the PDF link. To follow along, you can get the 2019 IRS Form 1040 here.
Enter The Source File URL
  • In the Custom Profiles field, type in { 'FlattenDocument()': [] }. This will remove all the fillable fields and turn them into read-only objects.
Add The PDF.co Custom Profiles

Step 3: Test & Review PDF Filler Configuration

Let’s send the PDF Filler configuration to PDF.co to Test & Review.

Send PDF Filler To PDF.co To Test And Review

Step 4: View the PDF File

Great! Our test was successful. PDF.co returned a temporary URL that we can use to review the PDF result. Kindly copy and paste the URL in your browser to view the read-only PDF.

PDF.co Test Successful

Step 5: IRS Form with Fillable Fields

This is now the 2019 IRS Form 1040 with no fillable fields.

Image of Read-Only 2019 IRS Form 1040
Image of Read-Only 2019 IRS Form 1040

In this tutorial, we learned how to remove the fillable fields in an unfilled PDF document using the FlattenDocument() in PDF.co. You can also use the FlattenDocument() to turn the PDF form you just filled out into a read-only PDF to restrict others from modifying the data.

Related Tutorials

See Related Tutorials