Remove Fillable PDF Fields – Step-by-step Guide

1. 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.


Remove Fillable Fields From IRS Form 1040
Image of fillable 2019 IRS Form 1040


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


Use PDF Filler To Flatten Document


3. 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 Custom Profiles
4. Let’s send the PDF Filler configuration to to Test & Review.

Send PDF Filler To To Test And Review
5. Great! Our test was successful. 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. Test Successful
6. This is now the 2019 IRS Form 1040 with no fillable fields.

IRS Form 1040 With No Fillable Fields
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 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 Samples: