PDF ToolsComplete Guide

PDF Editor Complete Guide

Everything you need to know about the free, browser-based sourcecodestack PDF Editor — rotate pages, merge documents, add signatures, apply watermarks, lock with a password, and more. No uploads. No account.

April 17, 2026
11 min read
📄

Browser-Based PDF Editing

No server. No sign-up. Just open and edit.

📄 Why a Browser PDF Editor?

Most PDF editors ask you to install software, sign up for an account, pay a subscription, or — worst of all — upload your sensitive documents to someone else's server. The sourcecodestack PDF Editor does none of that. It runs entirely in your browser using pdf-lib and pdf.js, two mature WebAssembly-powered libraries that give you professional-grade PDF manipulation without a single byte of your document leaving your device.

The PDF format was designed in the early 1990s as a "portable" container — a document that looks identical regardless of the software or operating system used to view it. That design choice made PDFs excellent for sharing final documents, but it also made them notoriously difficult to edit after the fact. The content inside a PDF is stored as a stream of drawing instructions — text positions, font references, image data — not as the kind of editable text you would find in a word processor. This is why editing the body text of an existing PDF is fundamentally constrained: to change a sentence inside an existing paragraph, the editor would need to reflow text, re-justify lines, and potentially move every element on the page, all while the fonts may only be partially embedded in the file.

The sourcecodestack PDF Editor focuses on the operations that are fully supported by the PDF format itself: structural changes (reorder, rotate, merge, split), overlaying new content (text labels, images, signatures, watermarks), and document-level properties (metadata, password protection, page numbers). These cover the vast majority of real-world editing needs without the fragile text-reflow problem. The guide below walks through every feature in detail so you know exactly what to reach for and when.

✨ What you can do

🔄Rotate, reorder & delete pages
➕Merge PDFs & insert blank pages
âœ‚ī¸Split & extract selected pages
âœī¸Add text, images & signatures
💧Apply text watermarks to all pages
đŸ”ĸAuto-number pages with custom format
đŸ—‚ī¸Edit or clear PDF metadata
🔐Lock with AES-128 password
🔓Unlock password-protected PDFs
â†Šī¸30-step undo / redo history

🔄 Page Operations

The left panel shows thumbnails of every page. These thumbnails are your main workspace for structural edits. Each thumbnail gives you at-a-glance confirmation of what is on a page before you act on it, and every operation here is fully undoable with Ctrl+Z.

When to rotate pages: Scanned documents are a common source of rotated pages. A document scanned in landscape orientation may arrive as a portrait PDF with every page sideways. Rather than re-scanning, select all sideways pages in the thumbnail panel and rotate them 90 degrees clockwise or counter-clockwise with a single click. Rotation is stored as a PDF page attribute, so the underlying content is never re-encoded — the file stays sharp and the operation is instantaneous regardless of page count.

When to reorder pages: Compiled reports, combined scan batches, and documents assembled from multiple sources often end up with pages in the wrong sequence. Dragging thumbnails to reorder them is far faster than reopening documents in a word processor and re-exporting. Use the checkbox selection to move a block of pages at once — select pages 5, 6, and 7, then drag the group to before page 2.

When to delete pages: Legal documents, contracts, and scanned archives frequently contain cover pages, blank separator sheets, or pages meant only for internal routing. Deleting these before distributing a PDF makes the document cleaner and smaller. Batch-delete by ticking multiple checkboxes and clicking the "Delete (N)" toolbar button. If you delete the wrong pages, undo with Ctrl+Z — the history holds up to 30 steps.

â†Šī¸

Rotate

  1. 1.Hover any thumbnail
  2. 2.Click the â†ē (left) or â†ģ (right) button
  3. 3.Rotation applies instantly — undo with Ctrl/Cmd+Z
â†•ī¸

Reorder

  1. 1.Grab the â ŋ handle at the top-left of a thumbnail
  2. 2.Drag it to the desired position
  3. 3.An animated ghost shows the new slot
đŸ—‘ī¸

Delete

  1. 1.Hover the thumbnail and click the trash icon, or
  2. 2.Tick the checkbox, select more pages, then click 'Delete (N)'
📋

Duplicate

  1. 1.Hover any thumbnail
  2. 2.Click the duplicate icon
  3. 3.A copy appears immediately after the original
➕

Merge PDFs

  1. 1.Click 'Merge PDF' in the toolbar
  2. 2.Select a second PDF file
  3. 3.Its pages are appended to the current document
📄

Insert blank page

  1. 1.Click 'Insert Blank' in the toolbar
  2. 2.A blank A4 page is appended after the last page
  3. 3.Reorder it to the desired position

➕ Merging PDFs — When and Why

Merging is one of the most frequently requested PDF operations in office and academic settings. Common scenarios include: combining monthly reports into a single annual archive, appending a signed signature page to a contract, assembling a portfolio of documents for a job application, or joining a cover letter with a CV and a reference list into one submission file.

The editor's merge flow is deliberately simple — open your primary document, click "Merge PDF", and pick the second file. Its pages are appended after the last page of the current document. If you need to insert pages from the second file in the middle of the first document, merge first, then drag the newly appended pages to the desired position using the thumbnail panel. For three or more files, repeat the merge step for each subsequent file, reordering pages as needed between merges. Each merge step is undoable, so you can experiment freely.

A note on bookmarks and hyperlinks: the current implementation appends pages and their content streams, but document-level bookmarks (the table of contents pane in PDF readers) and cross-document hyperlinks from the second file are not automatically preserved. Internal page links within the first document are preserved. If bookmark navigation is important, recreate the outline in the destination PDF reader after merging.

âœ‚ī¸ Split & Extract Pages

How to extract pages

  1. 1Tick the checkbox on every page you want to keep.
  2. 2The toolbar shows 'Extract (N)' where N is your selection count.
  3. 3Click 'Extract (N)' to download those pages as a brand-new PDF.
  4. 4The original document remains untouched in the editor.

💡 Tip

To split a 20-page PDF into two halves: extract pages 1–10 first (save that file), then undo all the deletions and extract pages 11–20. Undo history keeps both operations available.

âœī¸ Annotations — Text, Images & Signatures

All three annotation modes work the same way: activate the mode from the toolbar, then click anywhere on the main page preview to place the content at that exact position.

Adding text overlays is the right approach when you need to fill in a blank field on a non-interactive PDF form, add a date stamp, label a diagram, or insert a reference number into a document that wasn't designed as a form. Set your desired font size and color in the toolbar options before clicking, then position the text box directly over the target area. The text is stamped into the PDF page content — it becomes part of the page, not a separate annotation layer, which means it will appear correctly in any PDF viewer regardless of annotation support.

Honest note on editing existing text: adding a new text overlay is not the same as editing text that is already in the PDF. If a paragraph in your PDF has a typo, you cannot simply click on it and retype. The PDF format stores text as positioned drawing commands tied to specific fonts at specific coordinates. True in-place text editing would require re-rendering the entire page, and the fonts embedded in the file may not support all characters. What you can do is cover the incorrect text with a white rectangle (using a white image or a white-colored text box with a space) and stamp the corrected text on top — an imperfect but practical workaround for small corrections.

Adding images is useful for inserting a company logo, a scanned handwritten note, a stamp graphic, a QR code image, or an exhibit photo into a PDF that was created without those elements. JPEG and PNG files are both supported. After selecting the image file, click anywhere on the page to place it — the image is centered on your click position. You can place the same image multiple times by clicking again without re-selecting the file.

Signatures deserve special mention because they are one of the most common reasons people reach for a PDF editor. The built-in signature pad lets you draw a signature with your mouse or a touchscreen stylus, then stamps it onto any page at any position. For a repeatable signature (for instance, if you need to sign multiple pages), save your drawn signature as a PNG using the signature pad's export option, then use "Add Image" to place it precisely. This workflow is faster than redrawing the signature on every page.

📝

Add Text

Set font size and color, activate "Add Text", then click the page. A text box opens inline — type and press Enter or click away to stamp it.

đŸ–ŧī¸

Add Image

Click "Add Image" and select a JPEG, PNG, or GIF file. Then click on the page to place it. Scale defaults to 30% of page width — tweak in the options panel.

âœ’ī¸

Signature

Open the signature pad via the toolbar. Draw with your mouse or finger. Click "Apply" then click the page to stamp it. Use "Add Image" for a pre-made signature file.

💧 Watermarks & Page Numbers

Text Watermark

Watermarks are stamped onto every page at once. Options include:

  • â€ĸWatermark text (e.g., "CONFIDENTIAL", "DRAFT")
  • â€ĸColor & opacity (0–100%)
  • â€ĸFont size
  • â€ĸPosition: center (with rotation angle) or any corner

Page Numbers

Use the "Page #s" toolbar button for fine-grained control:

  • â€ĸFormat template: Page {n} of {total}
  • â€ĸPosition (top/bottom × left/center/right)
  • â€ĸFont size & color
  • â€ĸStarting page number offset

When to use a watermark: draft documents circulated for review often carry a "DRAFT" watermark so recipients know the content is not final. Legal and financial documents shared with multiple parties commonly use "CONFIDENTIAL" to signal handling requirements. Presentation copies distributed at events sometimes carry the organization's name as a light diagonal mark. Setting opacity to around 15–25% produces a mark that is visible but does not obscure the underlying content — high enough to be noticed, low enough to remain readable.

When to use page numbers: page numbers are essential for any multi-page document that will be printed, referenced in an index, or cited in footnotes. The editor's page-number feature lets you configure a format template so you can produce styles like "- 3 -", "Page 3 of 12", or simply "3". The starting offset option is particularly useful when a document begins with a cover page and a table of contents — set the offset to -2 so the first content page is numbered 1 even though it is the third physical page in the file.

đŸ—‚ī¸ PDF Metadata Editor

PDF files embed metadata that programs — and sometimes people — can read. The Metadata dialog lets you edit or clear four standard fields:

TitleThe document's display title
AuthorCreator name or organisation
SubjectShort description / category
KeywordsComma-separated search terms

đŸ›Ąī¸ Privacy tip

Click Clear all metadata before sharing a PDF externally. This removes author names, creation software, keywords, and any other identifying information embedded in the file — a common privacy best practice before publishing documents.

🔐 Lock & Unlock PDFs

Password protection and decryption are built-in features that run entirely in your browser. No key or password is ever sent to any server.

When to lock a PDF: password protection makes sense for documents containing personal information, financial data, proprietary business content, or legal materials you want to share with a specific person or team. The PDF encryption standard supported here (AES-128) is recognized and enforced by all major PDF viewers including Adobe Acrobat Reader, Apple Preview, and browser-based PDF viewers. Sharing the password through a separate channel (a text message rather than the same email that carries the PDF) is a simple practice that meaningfully raises the bar against casual unauthorized access.

The distinction between a user password and an owner password matters for professional use cases. The user password is what a recipient must enter to open the file at all. The owner password controls editing permissions — if you set an owner password without a user password, anyone can open and read the file but cannot print, copy text, or modify it without knowing the owner password. This model is common for distributed reference documents where you want free readability but restricted copying.

Important limitation: the lock process in this editor rasterizes each page to an image before encrypting. This means the text in the locked PDF will not be selectable or searchable. If preserving selectable text in the locked output is a requirement, use a dedicated desktop PDF application such as Adobe Acrobat that encrypts the vector content directly. For most use cases — sharing sensitive forms, locking a signed contract — rasterized output is entirely acceptable.

🔐

Lock with a Password

  1. 1.Click Lock in the toolbar.
  2. 2.Enter a user password (required to open the PDF) and confirm it.
  3. 3.Optionally set an owner password (controls permission overrides).
  4. 4.Choose which actions to allow: Print, Modify, Copy, Annotate.
  5. 5.Click Lock & Download to save the AES-128 encrypted file.

Note: the lock process rasterizes pages to images to ensure compatibility across all PDF viewers. Text in the locked copy will not be selectable.

🔓

Unlock a Protected PDF

  1. 1.Open the password-protected PDF.
  2. 2.A password prompt appears automatically — enter the password.
  3. 3.The document loads normally. An Unlocked badge appears next to the filename.
  4. 4.Edit as usual, then click Save Unlocked to download a permission-free copy.

"Save Unlocked" downloads the file — it does not modify the original. Your password stays on your device.

â†Šī¸ Undo & Redo

Every destructive action — rotation, reorder, delete, merge, annotation, watermark, page numbers, metadata, lock, unlock — is snapshotted into a 30-step undo history. You can freely experiment without fear of losing your work.

Ctrl+ZUndo last action
Ctrl+YRedo (also Ctrl+Shift+Z)
Ctrl+SSave / download the current PDF

💡 History note

History is held in memory for the current session. Refreshing or closing the tab clears it. For complex workflows, download intermediate versions as checkpoints.

đŸ—‚ī¸ Practical Workflows

Understanding individual features is useful, but most real editing tasks combine several operations. Here are five common end-to-end workflows and how to execute them efficiently.

Workflow 1: Assemble and number a report

Open your main report PDF. Use "Merge PDF" to append the appendix file, then append the references file with a second merge. Reorder pages in the thumbnail panel if needed. Insert a blank page at the front for a cover. Open the Page Numbers dialog and set the format to "Page {n} of {total}" with an offset of -1 so the cover page is page 0 and the first content page is page 1. Apply the numbers to bottom-center. Download the assembled PDF.

Workflow 2: Prepare a contract for signing

Open the contract PDF. Use "Add Text" to stamp the signing date and your name in the designated fields. Use the signature pad to draw your signature, then click the signature line on the page to place it. If you need to initial every page, draw the initials once, save as a PNG, then use "Add Image" to place the initials image on each page in turn. Download the signed document. Do not lock it unless the receiving party has the password — many contracts require the other party to countersign, which requires an unlocked file.

Workflow 3: Extract specific pages for sharing

Open a large document (e.g., a 40-page RFP). Tick the checkboxes on the 8 pages that are relevant to a specific vendor. Click "Extract (8)" to download just those pages as a new PDF. The original 40-page document stays open in the editor untouched. Apply a "CONFIDENTIAL" watermark to the extracted file before sharing if it contains proprietary specifications.

Workflow 4: Fix a scanned document

Open the scan. Select all landscape-rotated pages in the thumbnail panel and rotate them 90 degrees. Delete any blank separator pages. If the scan contains pages from multiple physical documents that were scanned in one batch, reorder the thumbnails to reconstruct the correct reading order. If a page was scanned upside-down, rotate it 180 degrees. Clear the metadata (author and creation software fields that scanners embed) and download the cleaned file.

Workflow 5: Distribute a read-only protected copy

Open your finalized document. Add a "DRAFT" watermark with 20% opacity if appropriate. Click "Lock", set a user password, and uncheck the "Modify" and "Copy" permissions but leave "Print" enabled. Download the locked PDF. Send the user password to the recipient through a separate channel (phone call, SMS, or a different email). The recipient can open and print the document, but cannot edit or copy the text.

âš ī¸ Honest Limitations

Browser-based PDF editing is genuinely powerful, but it is worth being clear about what it cannot do so you can plan accordingly.

Editing existing body text

Changing a word inside an existing paragraph is not supported. The PDF format stores text as positioned drawing commands, not as editable copy. Overlaying new text on top of old text is possible, but reflowing a paragraph is not. For full text editing, export back to the original source file (Word, InDesign, etc.) and re-export.

Interactive forms (AcroForms)

PDFs with interactive form fields (checkboxes, dropdowns, text input boxes) can be opened and the form fields can be filled interactively in a PDF viewer, but this editor treats them as static content. If you need to fill and flatten a form programmatically, use the text annotation overlay approach or a dedicated form-filling tool.

Very large files

Because all processing happens in-browser, very large PDFs (above 100 MB) may render slowly or cause the browser tab to use significant memory. For production workflows involving large files, consider splitting the document first, editing the parts, and re-merging. There is no server-side file size limit — only your device's available RAM sets a practical ceiling.

Digital signatures (cryptographic)

The signature pad draws a visual signature image that is stamped onto the page. It is not a cryptographic digital signature in the PKI sense. Legally binding digital signatures (as required by some jurisdictions and document workflows) require a certificate-based signing tool. The visual signature here is appropriate for informal agreements and personal records, not court-admissible executed contracts where chain-of-custody matters.

🔒 Privacy & Security

đŸšĢ

No Uploads

Your PDF is read and processed locally by your browser. No bytes travel over the network.

🔑

Passwords Stay Local

Lock and unlock passwords are used only in memory and discarded. They are never logged or transmitted.

🆓

Free, No Account

No sign-up, no watermark on output, no file-size limit imposed by a server queue. Completely free.

❓ Common Questions

Does my PDF get uploaded anywhere?

No. Every operation runs inside your browser. The network is never used for your file content.

Can I merge two PDFs?

Yes. Open one PDF, click 'Merge PDF', select a second file. Its pages are appended immediately.

Can I lock a PDF with a password?

Yes. Click 'Lock', set a user password, optional owner password, and permissions. Download the AES-128 encrypted file.

Can I remove a password from a PDF?

Yes. Open the locked PDF, enter the password, then click 'Save Unlocked'. A permission-free copy is downloaded.

Does it work on mobile?

Yes. Touch gestures work for signature drawing and dragging thumbnails. The layout adapts to small screens.

Is there a file-size limit?

No server-side limit. Very large PDFs (100+ MB) may slow down your browser because processing happens in-tab.

Can I edit the text inside an existing PDF?

Not directly — the PDF format stores text as positioned drawing commands, not editable copy. You can overlay new text using the 'Add Text' tool, which is suitable for filling blank fields, adding labels, or correcting a short word by covering the original and stamping new text on top.

How do I add page numbers?

Click 'Page #s' in the toolbar, configure the format template (e.g. 'Page {n} of {total}'), pick a position and font, set an optional starting offset, and click Apply. Page numbers are stamped on every page instantly.

Ready to edit your PDF?

Drop a file and you're editing in seconds. No account, no installs, no uploads.

📄Open PDF Editor