Invoice Generator

Send a clean, professional invoice without accounting software, a subscription or an account. Fill in your details and your client's, add line items with quantities and rates, set a tax rate and any discount, and download a finished PDF — with a live preview updating as you type. The arithmetic is done in whole cents rather than floating point, and each line is rounded before the lines are summed, so the column of line totals actually adds up to the subtotal printed beneath it. Discounts come off before tax is calculated, which is how sales tax and VAT genuinely work and what your client's accountant will expect. Amounts are formatted for whichever currency and locale you pick. Your details save locally so the next invoice starts where this one left off — and every part of it, including client names, addresses and amounts, stays in your browser.

How the totals are built

FigureHow it is calculated
Line totalQuantity x rate, rounded to whole cents
SubtotalSum of the rounded line totals
DiscountFixed amount, or a percentage of the subtotal
Taxable amountSubtotal less the discount
TaxTax rate applied to the taxable amount
TotalTaxable amount plus tax

When to use it

  1. Bill a client as a freelancer without signing up for accounting software.
  2. Send a one-off invoice when your usual system is overkill.
  3. Produce a quote or proforma with the same line items and totals.
  4. Invoice in a client's currency with correct local formatting.
  5. Keep client and financial details off third-party servers.

How to Use

  1. Fill in your details and your client's.
  2. Add line items with a description, quantity and rate.
  3. Set the tax rate, and a discount if there is one.
  4. Check the live preview, then download the PDF.

Features

  1. Exact arithmetic in whole cents — no floating-point drift
  2. Line totals that add up to the printed subtotal
  3. Discount applied before tax, as VAT and sales tax require
  4. Percentage or fixed-amount discounts, clamped to the invoice
  5. Any ISO currency, formatted for your locale
  6. Optional logo embedded from your device
  7. Live preview and one-click PDF download
  8. Sender details saved locally for the next invoice
  9. 100% client-side — client and financial data never leaves your browser

FAQs

Is my invoice data uploaded anywhere?

No. The whole invoice — your details, the client's, every amount — is held in your browser and the PDF is generated there too. Nothing is sent to a server, which matters more here than on most tools, since an invoice carries a client's name, address and what you charge them.

Is tax calculated before or after the discount?

After. The discount comes off the subtotal first, and tax is charged on what remains. That is how VAT and sales tax work — a discount reduces the taxable amount — so taxing the pre-discount figure would overcharge your client and misstate the tax you owe.

Why do the line totals always add up exactly?

Because each line is rounded to whole cents before the lines are summed, and everything is computed in integer cents rather than floating point. Tools that sum at full precision and round once at the end can print a column that does not add up to its own subtotal, which is the kind of thing a client queries.

Which currencies are supported?

Any ISO currency code, formatted for the locale you choose. Where a currency symbol cannot be drawn in the PDF's font — the rupee sign, for example — the invoice falls back to the ISO code, so it reads INR 1,200.00 rather than showing a broken character.

Can I use non-Latin text in the invoice?

The PDF uses a standard font covering Latin-1 and common typography, so accented European text is fine. Characters outside that — CJK, Arabic, Devanagari — cannot be drawn; they are replaced and the tool tells you exactly which characters were affected rather than silently producing mojibake.

Can I reuse my details on the next invoice?

Yes. Your sender details, currency and tax rate are saved in your browser's local storage and restored next time. They stay on your device and are never transmitted.

Can I add my logo?

Yes — drop in a PNG or JPEG and it is embedded in the PDF from your device. The image is read locally and never uploaded.

Technical Details

Every figure is computed in integer cents rather than floating point, because an invoice is a document someone pays from and floating-point sums are a cent out often enough to matter — 0.1 plus 0.2 is famously not 0.3. Each line total is rounded to cents before the lines are summed, so the printed line totals add up to the printed subtotal; summing at full precision and rounding once at the end is marginally more accurate in the abstract and visibly wrong on paper, where a reader can add the column up themselves. The discount is applied before tax, so tax is charged on the discounted amount. That is how VAT and sales tax work in practice — a discount reduces the taxable base — and taxing the gross figure would overcharge the client. A discount is also clamped so it can neither exceed the invoice nor push the total negative. Amounts are formatted with Intl.NumberFormat for the chosen locale and currency. The PDF is drawn with pdf-lib using a standard font, which encodes WinAnsi: that covers Latin-1 and common typography but not, for instance, the rupee sign or any CJK character. Rather than throwing away the document or printing mojibake, unencodable characters are substituted and listed in a warning, and a currency whose symbol cannot be drawn falls back to its ISO code, so an Indian invoice reads INR 1,200.00 instead of a broken glyph. Long descriptions and notes are wrapped against real font metrics so nothing runs off the page. Nothing is uploaded — client names, addresses and amounts stay in the browser.

Productivity Tools

Productivity Tools

  • Semantic Search in Your Files
  • Stopwatch
  • Pomodoro Timer
  • ATS CV Generator
  • Checklist & To-Do Maker
  • Countdown Timer
  • Mind Map Maker
  • Bank Statement to CSV