Contact
Home/Free PHP scripts/LiteContactForm
Free PHP contact form · Forms & Support

LiteContactForm.

A modern contact form that blocks spam without a CAPTCHA and keeps every message in an admin inbox, with e-mail notifications and auto-replies.

Free for personal and commercial usev1.0PHP 7.4+ no database
LiteContactForm contact page with form and contact details
Free download

One ZIP file, 155 KB, with the full PHP source code and a README.

No database

Data is stored in protected files. Works on any PHP hosting.

Admin panel included

Modern, responsive admin with light and dark mode.

Combine with other Lite scripts

Same design, same admin and same core in every script.

What is LiteContactForm?

Free PHP contact form with spam protection and a message inbox.

LiteContactForm is a free PHP contact form you can drop into any website. It protects you from spam with four invisible layers (honeypot, timing check, link limiter and a keyword filter), so visitors never solve a CAPTCHA. Every message is e-mailed to you and also saved in a clean admin inbox where you can mark messages read, replied or spam. No database is needed.

LiteContactForm features

  • Spam protection without CAPTCHA: honeypot, time trap, link limiter, keyword blocklist, CSRF token and rate limiting
  • Messages are e-mailed to you (with Reply-To set to the visitor) and saved in an admin inbox
  • Inbox with search, filters (new / read / replied / spam) and one-click status changes
  • Optional automatic confirmation e-mail to the visitor
  • Configurable subject choices, optional phone field and a privacy-policy consent checkbox (GDPR friendly)
  • Contact details box next to the form, written with simple formatting
  • Embeddable in any page with an iframe; responsive, light and dark mode
  • Flat-file storage: no MySQL, one-click data backup

LiteContactForm screenshots

Real screenshots of LiteContactForm: the public pages your visitors see and the admin panel you use to manage them.

LiteContactForm contact page with form and contact details
The contact page
LiteContactForm admin dashboard
Admin dashboard
LiteContactForm admin inbox with message statuses
The message inbox
LiteContactForm settings page
Settings

How LiteContactForm works

  1. Open Admin > Settings and enter the e-mail address that should receive the messages.
  2. Edit the headline, intro, subject choices and the contact details shown next to the form.
  3. Optionally add your privacy policy URL: a consent checkbox appears on the form.
  4. Check Admin > Inbox for incoming messages. Use Mark read, Replied or Spam to keep the inbox tidy.
  5. Fine-tune spam filtering with the spam words list and the maximum number of links allowed in a message.

Install LiteContactForm in 5 minutes

  1. Download LiteContactForm.zip and unzip it.
  2. Upload the LiteContactForm folder to your web hosting (FTP or file manager).
  3. Make the data and uploads folders writable.
  4. Open /admin/ in your browser and create your admin account.
  5. Click Add sample content in Settings, or start adding your own.

Requirements

  • PHP 7.4 or newer (PHP 8.x recommended)
  • Apache or nginx, any shared hosting
  • No MySQL: files in the data folder
  • README with full instructions is inside the ZIP

LiteContactForm questions

Will the form send e-mail on my hosting?

LiteContactForm uses PHP's mail() function, which works on most shared hosting. Every message is also saved in the inbox, so nothing is lost if e-mail is not configured.

Do I need a CAPTCHA?

No. The honeypot, timing check, link limiter and keyword filter stop most bots without bothering real visitors.

Need more than LiteContactForm?

A contact form is just one part of a business website. One Page Site gives you a complete, fast and SEO-ready website with sections, gallery, testimonials and a contact form, all editable from an admin panel:

Explore One Page Site →

More free PHP scripts

Forms & Support

LiteSupport

A simple ticket system for your website: customers open tickets and follow them online, you reply from the admin panel, everyone is notified by e-mail.

Classifieds & Jobs

LiteAds

Let visitors post and browse classified ads. Categories, photos, search, moderation and seller messages, all without a database.

Browse all 20 free PHP scripts or see our professional PHP scripts.