Signature Generator

Published Updated

Draw a signature or type your name in one of three handwriting fonts, and save a PNG with a transparent background, trimmed to the ink. An uploaded photo is saved as it is.

A PNG with nothing around the ink

Drawn and typed signatures are made on a canvas that starts fully transparent. When you press Use This Signature, the tool finds the outermost pixels that carry ink, keeps 16 pixels of space around them and saves the result as PNG. The W3C PNG specification gives each pixel an alpha sample in which zero means fully transparent, so the empty parts really are empty and the signature can sit on a page, a form or a coloured slide without a white box.

Faint edge pixels with an alpha of 10 or less out of 255 are ignored when the edges are found, which keeps the crop tight around anti-aliased strokes.

Draw, Type and Upload compared

ModeResulting PNGBackground
DrawStrokes from a 560 by 200 pixel pad, trimmedTransparent
Type72 pixel lettering, about 115 pixels high before trimmingTransparent
UploadThe image's own size, up to 10,000 pixels a side, not trimmedWhatever the file had

Sharp enough for print?

The pad records 560 by 200 pixels whatever the size of your screen. Printed at 300 pixels per inch, the full pad width is under 1.9 inches, and a trimmed signature is narrower still. That suits documents read on screen and signature lines of normal size. For a large printed signature, upload a high-resolution scan instead, keeping in mind that it stays on its paper background.

What signature.png is, and what the file holds

The tool makes a picture. Draw, Type and Upload all end in a PNG image drawn on a canvas in your browser; this page does not upload it. The code asks for no name, account or ID, and adds no certificate, timestamp or audit record. We exported the same signatures in Google Chrome 157, Firefox 155 and Playwright's WebKit build (not the Safari app) and listed the chunks of every file:

EngineChunks in signature.pngAnything besides the picture
Chrome 157IHDR, IDAT, IENDNothing
Firefox 155IHDR, IDAT, deBG, IENDA private deBG chunk holding a 16-character string that changed between exports (20 different values in 21 files)
The WebKit buildIHDR, sRGB, eXIf, IDAT, IENDAn sRGB tag and a 68-byte EXIF block with the colour space and the pixel width and height

The tool's code writes no name, date or time into the file; any extra data come from the browser, as listed above. Drawn and typed signatures were 8-bit RGBA with a transparent background around the ink.

Same strokes in three browsers and at two screen densities

Playwright's mouse drew the same three strokes (a wave, a loop and a slanted line) on the pad in each engine, at a device pixel ratio of 1 and of 2, before Use This Signature was pressed. PNG size and file size:

DrawingChrome 157Firefox 155The WebKit build
Three strokes, thickness 4 (the default)496 x 126, 6,295 B497 x 127, 8,335 B497 x 127, 7,456 B
The same strokes, thickness 1493 x 124, 5,666 B493 x 124, 5,077 B494 x 124, 6,857 B
The same strokes, thickness 8502 x 132, 12,025 B501 x 131, 8,816 B501 x 131, 7,842 B
One click without moving36 x 36, 239 B36 x 37, 271 B36 x 37, 294 B
One stroke 4 px below the top of the pad, full width560 x 22, 444 B560 x 22, 294 B560 x 22, 589 B

At device pixel ratio 2 every drawn and typed PNG had the same pixels as at ratio 1 in all three engines, and the same bytes in Chrome 157 and the WebKit build: the pad records 560 x 200 canvas pixels on any screen, so a sharper display does not give a sharper file. The crop keeps 16 empty pixels on all four sides, except where the ink reaches the border of the pad: the stroke along the top kept 1 or 2 pixels above it and 16 below.

Opaque ink is the chosen colour, (29, 29, 31) for the default #1d1d1f. At the default thickness Chrome 157 left every opaque pixel at exactly that value, while Firefox 155 and the WebKit build left 285 and 84 pixels one level darker, at (28, 28, 30).

Uploads are redrawn as PNG, not copied

An uploaded image is drawn on a canvas at its own size and saved again as PNG, so the download is a new file, not your original byte for byte. We uploaded five generated scans of the same synthetic scribble and compared the result with the original pixels:

Upload, 600 x 200File sizePNG from Chrome 157 / Firefox 155 / the WebKit buildPixels compared with the file
PNG, ink on off-white paper22,011 B34,023 / 22,626 / 29,205 BIdentical in all three
PNG, ink on transparency with soft edges16,896 B34,738 / 24,032 / 31,301 BAlpha identical; colour changed in 6,687 / 8,784 / 6,695 partly transparent pixels
Lossless WebP, the same transparent ink7,958 B35,538 / 24,032 / 31,301 BAlpha identical; colour changed in 10,270 / 8,784 / 6,695 partly transparent pixels
PNG, 16 bits per channel45,805 B35,504 / 25,247 / 108,714 BCut to 8 bits: Chrome 157 drops the low byte, Firefox 155 rounds, the WebKit build is up to 2 levels from either
JPEG, quality 9016,805 B92,104 / 80,500 / 79,284 BWithin 1 level of Pillow 11.3.0's decode in Chrome 157, identical in Firefox 155, up to 23 levels apart in the WebKit build

Opaque pixels come through unchanged. Partly transparent ones keep their alpha but can change colour: by up to 90 levels in Chrome 157 and the WebKit build and 230 in Firefox 155 on the faintest pixels at the rim of the strokes, and by at most 4 levels where alpha is 64 or more. Nothing is trimmed and no background is removed, and a JPEG becomes a PNG 4.7 to 5.5 times its size. An image over 10,000 pixels on a side is refused with "This image's dimensions are too large to process (more than 10000px per side)."

Making a signature image

  1. Step 1

    Pick Draw, Type or Upload

    Draw with a mouse, pen or finger; type up to 100 characters; or bring a PNG, JPG or WebP image of your signature.

  2. Step 2

    Adjust ink and style

    Drawing has a colour picker and thickness from 1 to 8 pixels. Typing offers Casual, Elegant or Flowing lettering in any colour.

  3. Step 3

    Save signature.png

    Press Use This Signature, check it against the checkerboard preview, then download. Start Over removes the result so you can make another.

A picture of a signature is not a digital signature

Under the US ESIGN Act, an electronic signature is a sound, symbol or process attached to a record and adopted by a person intending to sign it (15 U.S.C. 7006). For transactions in interstate or foreign commerce, section 7001 bars refusing it legal effect only for being electronic, and it also says no one has to agree to use or accept one (15 U.S.C. 7001).

A PNG proves nothing about who made it or whether a document changed after it was placed. That is the job of a certificate-based digital signature, covered in section 12.8 of ISO 32000-1. To stamp this image onto pages of a PDF, upload it in Sign PDF; to trim a scanned signature first, use Crop Image.

Signature image questions

Why does my uploaded signature still have a white background?

Uploads are converted to PNG and nothing else: no background is removed and no edges are trimmed. A photo of ink on white paper keeps the paper. For a transparent result, draw or type the signature here, or upload a PNG that is transparent already.

Is a drawn signature legally binding?

It can be. For transactions in commerce, United States federal law says a signature may not be refused legal effect just because it is electronic, when it is adopted with the intent to sign, yet nobody is obliged to accept electronic signatures. Rules differ by country and by document, so ask the recipient when it matters.

How large is the PNG?

It depends on the ink. A drawing can be at most 560 by 200 pixels and is usually smaller after trimming. A typed name is lettered at 72 pixels and is about 115 pixels tall before trimming, with a width that follows the name.

Can I change the ink colour after saving?

No. The colour is part of the pixels once the PNG is made. Choose it before pressing Use This Signature, or press Start Over and make the signature again in the new colour.

Can I put it in Word, Google Docs or an email?

Yes, as a picture. Insert signature.png where the program lets you add an image and drag it to size. Because the background is transparent, it sits over a signature line without covering it.

Which fonts does Type use?

Caveat for Casual, Dancing Script for Elegant and Satisfy for Flowing. They are bundled with this site, and the tool waits until the chosen one has loaded before drawing, so the PNG matches the preview.

Does signature.png contain my name or the date?

Not from the tool: its code asks for no identity details and writes no name, date or time into the file. The browser adds the rest. Chrome 157 wrote only the IHDR, IDAT and IEND chunks, the WebKit build added a colour-space tag and an EXIF block with the pixel width and height, and Firefox 155 added a private chunk with a 16-character string that changed between exports.

Is the PNG sharper on a high-resolution screen?

No. At device pixel ratio 2 every drawn and typed signature had the same pixels as at ratio 1 in Chrome 157, Firefox 155 and the WebKit build. The pad always records 560 x 200 canvas pixels; for a bigger image, upload a high-resolution scan.

Can I dot an i or add a full stop with a click?

Yes. A click or tap without moving leaves a round dot as wide as the pen. On its own it made a 36 x 36 pixel PNG in Chrome 157 and 36 x 37 in Firefox 155 and the WebKit build: the dot plus 16 pixels of margin on each side.

Why does my typed signature look like an ordinary font?

The handwriting font did not load. The tool asks the browser for the font and waits for it, but if the font file cannot be fetched it still draws the name, in a plain fallback face. With the font files made unreachable, all three engines exported the typed name that way, without a message.

Related Tools