iText 7 pdfSweep

pdfSweep is an iText 7 add-on that removes (redacts) information from a PDF document in a reliable and secure way.

Features & Benefits

Click the arrow to expand features and benefits.

pdfSweep demo tutorial

Core capabilities

Automatic removal of words and phrases

Removal of pieces of text from a document based on patterns (regular expressions).

Secure and reliable removal

On top of the visual appearance that is rendered when viewing or printing the PDF document, pdfSweep also takes care of the underlying rendering instructions and data structures to ensure the removed information is not retrievable.

Customized removal areas

Offering you the ability to remove content as necessary, just like a digital black bar.

Partial removal of text and images

When content is partially covered by a redaction area, it is only partially removed, allowing you to remove selected parts of text and images.

pdfSweep

An example of pdfSweep

This is an example that redacts the words 'Alice', 'White Rabbit' and 'Rabbit' (regardless of casing). It marks all occurrences of Alice with a pink rectangle, and all occurrences of 'Rabbit' with a gray rectangle.

The input PDF

pdfSweep input

pdfSweep code

// set input and output file
String input = "AliceInWonderland.pdf";
String output = "AliceInWonderland_redacted.pdf";
 
// define a strategy
// a Composite strategy acts as a collection of other strategies
CompositeLocationExtractionStrategy strategy = new CompositeLocationExtractionStrategy();          
// redact all occurences of the word 'Alice' with a pink marker
strategy.add(new PatternLocationExtractionStrategy("Alice").setRedactionColor(Color.PINK));                                       
// redact all occurences of 'Rabbit' and 'White Rabbit' (with some variations on case) with a gray marker
strategy.add(new PatternLocationExtractionStrategy("((w|W)hite (r|R)abbit)|( rabbit)|(Rabbit)").setRedactionColor(Color.GRAY));   
 
// load the document
PdfDocument pdf = new PdfDocument(new PdfReader(input), new PdfWriter(output));
 
// sweep
PdfAutoSweep autoSweep = new PdfAutoSweep(composite);
autoSweep.cleanUp(pdf);
 
// close the document
pdf.close();

The resulting PDF

pdfSweep result

Discover our resources

Video

Video

 

Blog

Blog

Download free trial

Free trial

Documentation

Other


Our commercial licensing models


Unit-based license
server
Unit-based license
end-user device
Volume-based
license
OEM license
server
OEM license
end-user device
Description

Licensed perpetually.

Installed on your own server, virtual machine or node installation.

Licensed perpetually.

Installed on your own end-user device.

Annual license.

Installed on a hosted server platform.

Licensed perpetually.

Embedded into your server application distributed to your customers.

Installed on a server, virtual machine or node installation.

Licensed perpetually.

Embedded into your end-user application distributed to your customers.

Installed on a end-user device (desktop, laptop, tablet, etc.).

Available for
Java and .NET platform
Conditions

1 per server, virtual machine or node.

Based on number of servers.




Unlimited number of PDFs.

1 per end-user device.


Based on number of end-user devices.




Unlimited number of PDFs.

Per application.


Counted as amount of PDFs produced.




Specified number of PDFs per year.

Always per application.


Based on number of servers deployed, min. volume is 10 servers.



Unlimited number of PDFs, unlimited distribution time.

Always per application.


Based on number of end-user devices deployed, min. volume is 100 end-user devices (desktops).

Unlimited number of PDFs, unlimited distribution time.

Professional support
and maintenance

Annually renewable at 20 % of prevailing list price (mandatory first year).

Annually renewable at 20 % of prevailing list price (mandatory first year).

Included in standard subscription.

Annually renewable at 20 % of prevailing list price (mandatory first year).

Annually renewable at 20 % of prevailing list price (mandatory first year).

Pricing

Perpetual license

Non-Production discounted, mandatory with purchase

Perpetual license

Non-Production discounted, mandatory with purchase

Annual license

Perpetual license

Non-Production discounted, mandatory with purchase

Perpetual license

Non-Production discounted, mandatory with purchase

Read more
Read more
Read more
Read more
Read more

Request your free quote now

Thank you for your interest in our iText Software Products.

Our sales team will contact you within one business day to discuss your project and create your personalized quotation.