toolhub
PDF TOOLS

Edit text in a PDF in your browser

Open a PDF, click any line of text to change, move or erase it, then add text, highlights, boxes and drawings and download a new PDF. Everything runs on your device.

Use PDF Editor

Use PDF Editor

Choose a PDF, then click any text on the page to edit it. Your original file is never changed.

What this tool does

Click a line of text in your PDF and edit it right on the page. The editor covers the original line with a patch that matches the page background and draws your new text in its place, using the closest standard font (Helvetica, Times or Courier). You can also add new text, highlight, draw, place boxes or whiteout areas, move and resize items, undo and redo, and download a new PDF.

How it works

PDF.js renders each page and finds every line of text with its position, size and font style. When you click a line, ToolHub samples its background and text color, opens an inline editor and records your change. On export, pdf-lib writes the changes into a copy of your PDF. Page thumbnails mark edited pages, and zoom, undo and redo are always available.

How to use PDF Editor

  1. Choose a PDF. It opens in the editor automatically.
  2. With Edit text selected, click any line, type your change and press Enter. Clear a line completely to erase it.
  3. Change font, size, bold, italic or color in the toolbar, drag text to move it, or use Add text, Highlight, Draw and Box.
  4. Download the edited PDF. Tick Flatten edited pages if the old text must be permanently removed.

Supported file formats and limits

Input and output: PDF. Password-protected or damaged files may not open. Edited text is drawn in Helvetica, Times or Courier, so it may not match the original font exactly, and characters those fonts do not contain (for example emoji or non-Latin scripts) are replaced with “?”. Scanned pages have no text to edit because OCR is not included, and rotated or vertical text cannot be edited directly.

Features

  • Click-to-edit existing text with automatic font, size and color detection
  • Add text, highlight, draw, boxes and whiteout; move and resize items
  • Undo, redo, zoom, page thumbnails and keyboard shortcuts
  • Optional flatten to permanently remove replaced text

Why use this browser-based tool?

You can fix a typo, update a date or amount, or redact a detail without installing software or uploading the document anywhere. The separate export leaves your source file untouched.

Privacy and file handling

PDF rendering and annotation happen in the browser; the page does not upload document contents to a ToolHub server. The page loads PDF.js and pdf-lib from third-party CDNs. Review the exported PDF before sharing it, and use Flatten edited pages when you need replaced text gone for good.

Frequently asked questions

Can I edit text already inside the PDF?

Yes, line by line. Click the text, change it and press Enter. The original line is covered and your text is drawn in its place, so layout does not reflow: if your text is longer it simply extends further.

Will the font look the same?

Not always. The editor picks the closest of Helvetica, Times or Courier and keeps size and color. Fonts embedded in the PDF cannot be reused in the browser.

Is the old text really removed?

Not unless you tick Flatten edited pages. Without it the old text is only hidden under a patch and could still be found by selecting or extracting text. Flatten turns edited pages into images so the old text is gone, but those pages are no longer searchable.

Are my edits editable after export?

No. Edits are written into the PDF, so keep your original file if you may need to change them again.

Can I edit scanned PDFs?

You can add text, highlights, boxes and drawings on a scanned page, but its printed text cannot be edited because OCR is not included.

Scroll to Top