OasisPDF

How to delete text from a PDF

In short Open the PDF in OasisPDF, select the words and press Backspace or Delete: the lines of the paragraph close up. To take away a whole paragraph, click in it, press Esc so that it has a frame, and press Delete. Save as "A clean file", which is how OasisPDF saves unless you chose otherwise, and the deleted words are no longer in the text of the pages. This is not redaction: a bookmark, the document’s title, or the picture of a scanned page can still hold them.

Last checked in OasisPDF: By the makers of OasisPDF

Your file stays on this device. Nothing is uploaded.

or drop one anywhere on this page

Do it here: this page is the editor.

Your file stays on this device. Nothing is uploaded.

  • Free
  • 100% private
  • No watermark
  • No account required

What you need

  • The PDF, on your computer.
  • Google Chrome or Microsoft Edge on a computer. Phones and tablets cannot run the editor yet.
  • No account and nothing to install. The file stays on your device.

Step by step

  1. Step 1

    Open your PDF

    Click "Choose a PDF" on this page, or drop the file anywhere on it. The file opens in the editor, right here. It is not uploaded: the editor works on it on your own device.

    Go to the page with the text you want to delete.

    A two-page notice to boat renters open in OasisPDF: on page 1 a heading, the paragraphs of the notice and a table of berths.
  2. Step 2

    Select what you want to delete

    Some words: click into the paragraph and drag across them, or double-click a word.

    A whole paragraph, a heading or a line on its own: click in it and press Esc. It gets a frame, and the bar above the page says "Text", with "Copy text" and a trash can.

    A sentence selected inside a paragraph of the notice.
    The first paragraph of the notice in a frame, and the bar above the page with "Text", "Source Serif4 Regular · 12 pt · 3 lines", "Editable", "Copy text" and a trash can.
  3. Step 3

    Delete it

    Press Backspace or Delete. Words deleted inside a paragraph close up: the lines wrap again, and the text below moves up. A word deleted by itself leaves the spaces that stood on both sides of it: delete one of them too. A paragraph deleted as a whole, with the key or the trash can on its bar, leaves its space empty, and nothing below moves up; a message says "Text deleted", with Undo. If you select all the words of a paragraph with Ctrl+A (Cmd+A on a Mac) and press Backspace, the text below moves up; press Esc or click elsewhere, and the emptied paragraph is gone, with the same message.

    A table may have no rows to pick, each cell, or a few cells side by side, a block of its own, as in this notice: delete the cells one by one; the lines of the table stay. Text in a colored box can leave the empty box behind: click inside the box and press Delete to take it away too.

    Deleted the wrong thing? Click "Undo" in the message, or press Ctrl+Z (Cmd+Z on a Mac).

    The paragraph closed up after the sentence was deleted, and the heading and the table below it one line higher.
    An empty place where a paragraph stood, and the message "Text deleted" with an Undo button.
  4. Step 4

    Save as a clean file

    Before you save, open the menu beside "Save" and look under "How the file is saved": "A clean file" should be chosen.

    Save writes into the file you opened. To keep the original as it was, do not click "Save": open the menu beside it, choose "Save a copy…", and give the new file a name.

    Otherwise click "Save". The browser may ask whether the site may save changes to the file: allow it.

    The menu beside the Save button: under "How the file is saved", "A clean file" is chosen, with the line "The document as it is now, written anew. Its earlier versions are not kept in the file."

Good to know

What a clean file no longer holds

Saved as "A clean file", which is how OasisPDF saves unless you chose otherwise, the file holds the document as it is now, without its earlier versions. The deleted words are no longer in the text of its pages: other PDF programs neither show them nor find them in a search.

What a clean file still holds

Some parts of a PDF are not text of a page, and deleting words does not reach them: its bookmarks, the list of headings some PDF programs show at the side, where a heading you deleted is still a bookmark; the document’s title and keywords, which some PDF programs show among its properties; and, in a PDF tagged for screen readers, hidden descriptions of its headings, text and pictures. If one of them repeats a word you deleted, the saved file still holds it. A PDF program that shows bookmarks and the document’s properties lets you check those two. To be sure that a word is nowhere in the file, hidden descriptions included, you need a program that shows all of these parts.

This is not redaction

Deleting takes text off a page. It does not black anything out, and it does not reach the bookmarks, the title or the picture of a scanned page. Before you send a file with something nobody may read, check what it still holds, as above.

A file with its history keeps the original

Saved as "A file with its history", your changes are added to the file as it was. The original stays whole at the start of the file, and the deleted words can be read from it with a program that opens a file’s earlier version. The choice is in the menu beside Save.

A scanned page

A scanned page is one picture. Its words can be deleted after "Recognize text" and a double-click on the paragraph (see "If something goes differently"). On the page they are covered with the color of the paper, but the picture underneath still holds them, also in a clean file: anybody who takes the picture out of the file can read them. Do not count on this to hide words of a scan.

If something goes differently

Delete does nothing on a scanned page.

A scanned page is a picture. Click "Recognize text" in the bar above the page first. A click then selects "Scanned text", which is part of the picture and cannot be deleted: double-click the paragraph, or click "Edit text" on the bar. It is set again in the closest font, and its words can be selected and deleted.

The bar says "Object only".

This text cannot be typed in. It can be deleted only as a whole: click it once and press Backspace or Delete.

A gap stays where a paragraph was.

That is how a paragraph deleted as a whole is left: the text around it does not move. Undo brings the paragraph back.

An empty box is left behind.

The box is a drawing of its own. Click inside it and press Delete: the message says "Drawing deleted".

Save asks me where to put the file.

Then the browser did not let the site write into the original file. Choose a name and a folder: the new file holds the document as it is now, and the original is unchanged.

How this guide was made

Every step was done in OasisPDF on , with the document in the pictures: an invented document of an invented harbor. When the editor changes, the guide is checked again.