Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A modern, clean, and very simple responsive HTML invoice template
Simple HTML Invoice Template is a free, MIT-licensed, single-file HTML/CSS invoice template from Sparksuite that turns raw invoice data into a clean, responsive, printable invoice in any browser. The template lives in a single invoice.html file with embedded CSS, so there are no frameworks, dependencies, or build steps to install.
Simple HTML Invoice Template is a pure HTML and CSS template for creating professional-looking invoices. You edit invoice details directly in the markup — company name, client information, line items, quantities, prices, tax, and totals — and the browser renders them into a styled invoice ready for printing or PDF export. It is maintained by Sparksuite and available on GitHub under the MIT license, with a live demo hosted on GitHub Pages.
invoice.html file; copy it into your project and edit the HTML and CSS directly.invoice-box to invoice-box rtl to produce a right-to-left invoice layout.@media print CSS snippet to remove the box-shadow and border and let the invoice span the full page width.Simple HTML Invoice Template suits anyone who needs a lightweight, no-dependency way to produce invoices. Web developers can lift the HTML and CSS into their own apps as a starting point for billing views. Freelancers can edit the file in a text editor and print or save a PDF in seconds. Small businesses that need occasional invoices without subscribing to invoicing software can use it as a standalone alternative. It's also a useful teaching example for people learning hand-written HTML and CSS.
invoice.html, fill in line items and amounts, then print to PDF from the browser.rtl class to generate invoices written right-to-left for Arabic, Hebrew, or other RTL languages.@media print techniques as a minimal, real-world example.Open the invoice.html file in any browser to see the default demo invoice. To customize, edit the HTML with your own company and client details, line-item rows, and totals, as well as the embedded CSS to change colors and spacing. When you're ready to send the invoice, use the browser's print dialog to save it as a PDF; if the invoice is the only element on the page, add the provided print CSS to remove the surrounding border and shadow.
Simple HTML Invoice Template is free and open source under the MIT license. There are no paid tiers, registration, or usage restrictions.
Yes, it is released under the MIT license, so it is free to use, modify, and distribute for personal or commercial projects, as long as the license notice is retained.
No, the invoice is plain HTML and CSS in a single file. You only need a web browser to view and print it; there is no Node.js, npm, or bundler required.
Add the @media print CSS block from the README — it sets max-width: unset, box-shadow: none, and border: 0 on the .invoice-box element so the printed invoice spans the full page width.
Change the invoice container's class from invoice-box to invoice-box rtl. That class flips the layout to right-to-left for languages that read from right to left.
A live demo is hosted on GitHub Pages at sparksuite.github.io/simple-html-invoice-template.
