Free contact form

A self-hosted PHP contact form that sends messages from your website straight to your inbox. It has no database, no account and no monthly fee, and it makes no calls to third-party services.

Download free Try the demo Edit in the form builder

This demo is for trying the form only. Nothing is sent: when everything's filled in correctly, it shows the thank-you message. Leave fields empty or enter an invalid email address to see the validation. Once you install the form on your own site, messages go to your email address.

Features

  • Messages sent to your inbox by email, to one or more addresses, with CC and BCC
  • The visitor's subject becomes your email's subject, so you can sort messages at a glance
  • SMTP through PHPMailer, including services such as SendGrid and Mailjet
  • Spam protection with no CAPTCHA: spam trap, timing check, and per-visitor and whole-website limits
  • Checked in the browser as visitors type, and again on the server
  • Change it in the free form builder, with a live preview
  • Light or dark colours, or following the visitor's device
  • Messages to visitors in English, French, German, Spanish or Dutch
  • Built-in self-test page to check your server and email settings
  • Your settings kept in their own file, so upgrading is easy
  • Full source code, with every file explained

How to use

  1. Download and unzip the files.
  2. Add your email address and SMTP details to fcf-config/fcf.settings.php.
  3. Add the form to your contact page and upload the files.
  4. Send a test message to make sure it arrives.

Change it in the form builder


About the free contact form

The form lets your visitors send you a message from your website. Each message is checked, then emailed to you. Messages aren't saved on your server or sent anywhere except your inbox.

It's a good fit if your site runs on ordinary PHP hosting and you don't want WordPress, a form-building service or another subscription just to receive messages.

What's new in 2026.2

Upgrading from 2026.1? Replace the fcf-assets folder and open the self-test page. It makes your two new settings files from your old fcf.config.php, so there's nothing to copy by hand. The installation guide has the steps. A form that's already running keeps its own fields.

Is it really free?

Yes. You can use it on personal and commercial websites at no cost.

There are two conditions:

You can use it on websites you build for clients too. The licence explains it in plain English, including how to remove the credit.

Spam protection

Spam is blocked on your server, with no CAPTCHA puzzle for your visitors to solve and no third-party script to load.

All the limits can be changed or switched off. These checks stop typical bots without getting in the way of real visitors. If your site is behind Cloudflare, set one option so each visitor is counted separately.

See how the form protects your website, and read the script that sends every message.

Email delivery

Messages are sent with PHPMailer. We recommend SMTP with an email account on your own domain, which is much less likely to end up in spam. Any SMTP service, such as SendGrid or Mailjet, also works. PHP's built-in mail function is available as a fallback. See the SMTP settings guide for help with your hosting provider.

Each email you receive has its reply-to address set to the visitor, so you can just press Reply. The subject line starts with "Contact form:" followed by the visitor's subject. HTML and plain-text templates are included, and the form builder shows you the email before you download.

Want different topics to go to different people? Add a "What is it about?" dropdown, and list an address for each answer in your settings file. See sending messages to different addresses.

Form validation

Fields are checked in the browser as visitors type, then checked again in PHP on the server, so the server never relies on the browser alone. Any field that isn't in your form file is ignored, so nobody can sneak extra data into your emails.

By default:

Optional fields are marked "(optional)", in the form's language. In the form builder you can mark required fields with a star instead, both, or neither.

Make it yours

The easiest way to change the form is the form builder. Start from this contact form or a blank one, add fields such as a website address or a "What is it about?" dropdown, change the wording, and pick your colours. Download it as a full install, or just the form's 5 files to upload over a form you've already installed. Your settings file isn't one of them, so your email settings stay as they are.

Or start from one of the ready-made forms below, such as quote request, appointment request or support request.

Styling and languages

The form uses its own stylesheet, so it won't clash with your site's CSS. Its colours, corners, font and width are a short list of values in fcf-config/css/fcf.custom.css, which the form builder writes for you. The messages visitors see come in English, French, German, Spanish and Dutch, and you can add your own translation.

Privacy

The form doesn't use a database, tracking or outside services. Messages are sent from your server to your email address and aren't saved anywhere else. Visitors' IP addresses are used briefly to limit repeated messages, then deleted automatically. They aren't included in the emails you receive unless you add {IP} to your email templates.

The form builder runs in your browser and keeps your forms there. It never asks for your email address or server details.

Download and setup

Download and unzip the files, add your email address and SMTP details to fcf-config/fcf.settings.php, then upload everything to your website. Your server must run PHP 8.2 or newer.

For step-by-step instructions, see the free contact form installation guide.

Free Download (release 2026.2)

Want to check before you install? See what's in the download, the changelog, or the file checksums on the downloads page.

If messages aren't arriving, read the help page first. Most problems are caused by email settings, and the built-in self-test page will usually show you which one.

All the free forms

Built on the same engine, with the same spam protection and setup. Pick the one that fits the job.

Free contact form (this page)

Name, email, subject, phone and message. The simple, all-purpose form.

Download this form

Free quote request form

Service, budget, timescale and job details, so you can price the work.

Demo and download

Free appointment request form

Service, preferred date and time of day, for anyone who takes bookings.

Demo and download

Free callback request form

Just a name, phone number and the best time to call. Quick on a phone.

Demo and download

Free support request form

Order or account number, how urgent it is and what happened, so you can help first time.

Demo and download

Free feedback form

A quick rating and comments. Name and email are optional, so people can stay anonymous.

Demo and download

Free newsletter signup form

First name, email and topics, with a clear consent tick box. Signups come to your inbox.

Demo and download

Free RSVP form

Who's coming, how many, and any dietary needs, for parties, weddings and events.

Demo and download