Last updated: September 2026
This policy explains what cookies and local storage HTMLify uses, what they do, and how you can control them.
What Are Cookies?
Cookies are small text files placed on your device by websites you visit. They are widely used to make websites work more efficiently and to provide information to site owners. "Local storage" is a similar mechanism that stores data in your browser without an expiry date.
Cookies We Use
Essential Cookies
These are required for the site to function. They cannot be disabled.
| Name | Purpose | Expires |
|---|---|---|
PHPSESSID | Standard PHP session cookie — used if you visit the admin area | Session |
Preference Storage (Local Storage)
We use your browser's localStorage (not cookies) to remember your tool preferences — such as your chosen indent size and whether you have comments preserved. This data never leaves your device.
| Key | Purpose | Storage |
|---|---|---|
htmlify_settings | Your tool preferences (indent size, wrap settings) | localStorage — no expiry |
htmlify_theme | Dark/light mode preference | localStorage — no expiry |
Analytics Cookies (Optional)
If Google Analytics is enabled, it places the following cookies to understand how visitors use the site. These collect anonymous data — no personally identifiable information is collected.
| Name | Purpose | Expires |
|---|---|---|
_ga | Distinguishes unique users | 2 years |
_ga_* | Maintains session state for GA4 | 2 years |
_gid | Distinguishes users (session-level) | 24 hours |
Advertising Cookies (Optional)
If Google AdSense is enabled, Google may place cookies to show contextual ads. These are governed by Google's advertising policies. You can opt out via Google's Ad Settings.
How to Control Cookies
You can control cookies through your browser settings. Most browsers allow you to:
- View what cookies are stored
- Delete individual cookies or all cookies
- Block cookies from specific sites
- Block all third-party cookies
Note that blocking essential cookies may affect site functionality. Blocking localStorage will reset your tool preferences on each visit.
Changes to This Policy
If we change the cookies we use, we will update this policy and the "Last updated" date. Significant changes will be highlighted.
Contact
Questions about our cookie use? Contact us.