Docs
Everything you need to understand llx,lly,urx,ury, export placements, and stamp signatures - fully in-browser.
PDF points
Origin bottom-left
Stamp PNG
Getting started
- Open Tool and load a PDF (local file).
- Create a box on the page where you want the signature/field.
- Adjust using drag handles or keyboard nudging (if enabled in your build).
- Copy/export the resulting
llx,lly,urx,urycoordinates.
Tip: keep a small margin from page edges (e.g., 10–20 points) to avoid printer clipping.
Coordinate system
What do llx,lly,urx,ury mean?
- llx = lower-left X
- lly = lower-left Y
- urx = upper-right X
- ury = upper-right Y
Example
llx=72, lly=120, urx=220, ury=170
Watch out: some libraries/tools display coordinates with a top-left origin. DocCoords uses the PDF mental model
(bottom-left origin).
Export format
{
"pages": [
{
"pageIndex": 0,
"pageNumber": 1,
"boxes": [
{
"llx": 50, "lly": 716, "urx": 166, "ury": 762
}
]
}
]
}
Page numbering
Units
Stamping a signature
- Upload a PNG signature (transparent background recommended).
- Select the target box.
- Stamp it to the selected box (or apply across page/all pages depending on your tool options).
Best result: use a transparent PNG cropped tightly around the signature, then scale within the box.
Precision & DPI
points = pixels / scale pixels = points * scale
If you ever notice “shifted” stamps, check scale/zoom conversions and page rotation.
Best practices
- Keep boxes within page bounds (avoid negative coordinates).
- Use consistent box sizes for a professional look across pages.
- Prefer snapping guides for alignment (center/edges).
- Name labels clearly:
Signer 1,Initials,Date. - Test on 2–3 real PDFs (scanned, digital, rotated) before standardizing.
Troubleshooting
Usually a scale mismatch. Ensure your export uses PDF points, and your stamping uses the same page size/rotation.
Check that you're converting from canvas pixels back to PDF points using the same render scale used for the page.
Scanned PDFs can have odd page boxes (MediaBox/CropBox) or rotation.
Try a couple pages and confirm the page box used for stamping.