Awesome free stuff for your website!

Most Recent Scripts and Tools

Expand Shortened URLs to Reveal Their True Destination

Browse with confidence and an increased sense of security. Avoid malware, phishing sites, scams, and viruses by expanding shortened URLs first. Discover where redirection links really take you!
Views: 1,052 Price: Free

PHP Base 64 Inline Image URI Generator

This PHP script dynamically converts any self-hosted image into a base 64 data URI for optimal website performance.
Views: 511 Price: Free

Automatic Webpage Refresher

This tool refreshes any webpage at a specified increment. It's great for watching the closing minutes of an online auction, making sure you don't miss the opening sale of a hot new gadget or movie, or keeping an eye on the latest sports scores.
Views: 562 Price: Free

Online QR Code Generator for URLs

QR codes (Quick Response) are typically on real-world advertisements, billboards, newspapers, and magazines. When scanned with your smartphone or PDA, you are directed to a specified website where you can learn more about a product, claim an offer, or download a new app. QR codes are quickly closing the gap between offline and online marketing.
Views: 3,808 Price: Free

PHP HTML Entities Encode / Decode Text

When you need to display code on your website, you need to encode it with HTML entities.
Views: 285 Price: Free

JavaScript Encode / Decode URLs and Text

Helps to make URLs and text more readable.
Views: 272 Price: Free

RegEx Live Find and Replace Editor for JavaScript and PHP

An online tool for editing and testing regular expressions. Enter RegEx expressions and visualize matches in real-time.
Views: 600 Price: Free

Create Base 64 Data URIs for Inline Images, Fonts, and Other Resources

Speed up your website with data URIs using this free online image, font, and resource converter.
Views: 614 Price: Free

PHP Google AdSense Responsive Banner Iframe Design

Google AdSense allows you to display another page when no ads are available. This PHP script randomly chooses from pre-determined ad text and displays your custom advertisements with the design identical to Google's text banners. This responsive HTML5 and CSS3 page is formatted based on available width. When viewed on small devices, it will display as an infinitely scrolling banner.
Views: 366 Price: Free

HTML5 Make Telephone Numbers Clickable

Making telephone numbers clickable for users on smartphones can improve their browsing experience.
Views: 533 Price: Free

JavaScript Money Format with Commas Thousands Separator

This JavaScript returns a number as formatted for United States currency, by grouping the digits in groups of three with a comma and forcing two decimal places.
Views: 650 Price: Free

CSS3 Automatic Screen Resolution Background Changer

This CSS3 stylesheet uses @media queries to automatically size the correct background image depending on the user's screen resolution. When implemented properly, this technique will save bandwidth, reduce the number of http requests, and most importantly, speed up your visitor's experience by delivering only what they need.
Views: 670 Price: Free

JavaScript Trim String

This JavaScript removes any excess whitespace (spaces, tabs, line breaks, etc) from both sides of a string.
Views: 630 Price: Free

PHP Relative Time Calculator

This PHP script calculates and returns an easy-to-read relative time stamp based on how long ago an event occurred in the past.
Views: 1,700 Price: Free

PHP Force HTML Entities

This PHP script returns all of the characters in a string as HTML entities. Using this function when publishing e-mail addresses can help prevent web spiders from harvesting the data to send you spam.
Views: 558 Price: Free

PHP Obfuscate Bank Account and Credit Card Numbers

This PHP script masks all but the last four digits of a credit card or account number to protect the privacy and security of the user. It mimics the common practice of masking the payment method on sales receipts.
Views: 517 Price: Free

PHP Obfuscate E-mail Addresses for Privacy

This PHP script returns an obscured e-mail address to protect the privacy of the user.
Views: 615 Price: Free

JavaScript Clear Form Fields with Confirmation Dialog

This JavaScript checks with the user to confirm that they meant to clear the form. Upon confirmation, it resets any radio button or select box to the default selected value, then clears any input fields and unchecks all checkboxes.
Views: 496 Price: Free

PHP Remove Any Excess Whitespace

This PHP script removes any excess whitespace (spaces, tabs, line breaks, etc) from a string of text and allows just one consecutive space.
Views: 579 Price: Free

PHP Age Calculator with Leap Year Precision

This PHP script calculates and returns a user's age in years, based on a specified date. Unlike other age calculators, this PHP script takes into consideration leap years which makes this script much more accurate.
Views: 667 Price: Free
Using my code?Buy me a coffee!
Scripts are Licensed with Creative Commons