Privacy Policy
Last updated: 2026-11-22
Short version: the HTML you view stays in your browser. We only store something on our server when you click Share or sign in, and your code only leaves your browser for a moment if you click Fix with AI. We use two analytics tools to see how people use the site. Our phone app and browser extension collect nothing at all. Here are the details, in plain English.
See also our Terms of Use, the simple rules for using the tools and share links.
Who we are
htmlviewer.tech is a free online HTML viewer. If you have any question about your data, reach us through our contact page.
Your HTML stays in your browser
When you paste, type or open a file in the viewer, everything happens on your own device. Your code is not uploaded and we don’t keep a copy. Close the tab and it’s gone.
The preview runs inside a sandboxed frame, so scripts in the HTML you view can’t read this site’s data or your cookies.
The HTML Viewer app (iPhone, iPad and Android)
The HTML Viewer app doesn’t collect any data. It has no sign-in, no ads, no analytics and no tracking, and it doesn’t send the HTML, CSS or JavaScript you open, paste or type anywhere. Viewing, editing, formatting, validating and the color picker all run on your phone, and the app works without an internet connection.
- Your code in the HTML Editor and Code Tools, your last color and your settings are saved in the app’s own storage on your phone, so they’re still there next time. Deleting the app deletes them.
- The app opens files only when you pick one, and it only reads the clipboard when you tap Paste.
- Copy and Share use your phone’s own clipboard and share sheet. Where a shared file goes is up to you.
- If the HTML you preview loads images, fonts or scripts from the web, your phone fetches them straight from those websites, the same way a browser would. With JavaScript switched on, scripts in your HTML run like they would in a browser and can contact other websites; we can’t see that traffic. With JavaScript switched off, scripts in the preview don’t run.
- Links in the app, like this privacy policy, open in your phone’s browser, where this page’s other sections apply.
The HTML Viewer browser extension (Chrome, Edge and Firefox)
The HTML Viewer extension doesn’t collect any data either. It has no account, no ads, no analytics and no tracking, it doesn’t talk to our server, and it works offline. The HTML you paste or open is shown on your computer only.
- It reads a page only when you ask it to: when you pick “View selection as HTML” or “View this page’s HTML” from the right-click menu, it reads the selection or that one page, once, and shows it in the viewer. It can’t see any other tab or site.
- The last HTML you typed and your preview settings are kept in the extension’s own storage in your browser, so they’re still there next time. HTML sent from the right-click menu is deleted as soon as the viewer opens it. Removing the extension removes all of it.
- If the HTML you preview loads images or fonts from the web, your browser fetches them straight from those websites. Scripts from other sites don’t run in the preview.
What we store when you click Share
Creating a share link is the only time your content is stored on our server. We then store:
- the content you shared, its title (if it has one) and the viewer settings (for example the screen size);
- when the link was created, when it expires and how many times it was opened;
- your IP address, only so we can stop abuse such as spam or phishing pages;
- if you are signed in, which account shared it, so it can show up in your Dashboard.
You choose how long the link lasts (7 days, 1 month, 1 year, 3 years, 5 years or never, which means for as long as the site runs; 1 month unless you pick something else). Expired links are deleted automatically once a day. Shared pages are hidden from search engines. Anyone who has the link can open it, so please don’t share anything private.
Deleting a link: if you were signed in when you shared it, delete it from your Dashboard on any device. Otherwise, send us the link through the contact page and we’ll remove it. The data is stored with our hosting provider.
Fix with AI
Some tools, like the HTML Fixer, have a Fix with AI button. Only when you click it, the code in the editor (up to 30 KB) is sent to our server, which uses an AI service to repair it. The answer comes straight back to your browser. We don’t save your code. A log of each AI request (including the code and the answer) is kept for a limited time so we can spot errors and abuse, and your IP address is used to limit how many AI fixes can be made per minute. The model isn’t trained on your code. If your code is private, use the normal fixer, which never leaves your browser.
Signing in with Google
Signing in is optional. You only need it if you want to keep track of your share links in the Dashboard. We use Google’s “Sign in with Google”, so we never see or store a password. When you sign in, Google tells us, and we store:
- your Google account ID, email address, name and profile picture link;
- when you created your account and when you last signed in;
- a sign-in session for each browser you use. Your browser keeps a random key in a secure cookie
(
hv_session, valid for 30 days), and we store only a scrambled (hashed) copy of it.
We use this only to show you your own links. We don’t send you marketing emails, and we don’t share it with anyone. Sign out from the menu at the top right at any time. To delete your account and everything linked to it, contact us from the email address you signed in with.
Analytics
We use two tools to understand how the site is used, so we can make it better:
- Google Analytics counts visits and shows things like which country visitors come from, which device they use and how they found us. It uses cookies. See Google’s privacy policy.
- Microsoft Clarity shows how people use the page (clicks, scrolling and heatmaps) and can record sessions. We tell Clarity to hide the code editor, so the HTML you type is not recorded, and the preview runs in a sandboxed frame that Clarity can’t see. It uses cookies. See the Microsoft Privacy Statement.
These tools see technical details such as your browser, device, approximate location and pages visited. We don’t use them to identify you, and we don’t sell any data. You can block them with your browser’s privacy settings or an ad blocker. The viewer keeps working.
Things saved in your browser
Besides the analytics cookies above (and the sign-in cookie, if you sign in), the site saves a few things in your browser’s local storage, so the tools work the way you left them:
- the width you dragged the code and preview panels to, and each tool’s options (like indent size or the devices you picked in the Responsive Viewer);
- on some tools, your last work, so it’s still there next time: the code in the HTML Editor, the text in Text to HTML, and the last color, gradient or shadow in the generators;
- a secret key for each link you shared, kept in case you need us to confirm a deletion.
All of this stays on your device and is never sent to us. You can clear it anytime by clearing this site’s data in your browser.
Hosting
Like any website, ours runs with a hosting provider, which handles basic technical data such as IP addresses to deliver pages and protect the site from attacks.
Your rights
You can ask us what data we hold about you, or ask us to delete it, for example a share link you created. Just reach us through the contact page. Depending on where you live (for example the EU, UK or California) you may have extra rights, and we’ll respect them.
Children
This site is a developer tool and isn’t aimed at children under 13. We don’t knowingly collect their data.
Changes
If we change how we handle data, we’ll update this page and the date at the top. If we ever add ads, we’ll update this policy before they go live.