HTML Live Preview

Privacy Policy

1. General Information

HTML Live Preview ("we," "our," or "the website") provides an online code editing tool. We are committed to protecting your privacy. This policy explains how we handle information when you visit our site.

2. Data Processing (Local Storage)

Unlike traditional editors, we do not store your code on our servers. All code input and processing occur locally within your browser's memory. We use browser "Local Storage" only to remember your preferences (such as Dark Mode settings) to improve your experience.

3. Cookies & Advertising

We use cookies to analyze site traffic and, in the future, to serve personalized advertisements through partners like Google AdSense. These partners may use cookies to serve ads based on your prior visits to this or other websites.

  • Google's use of advertising cookies enables it and its partners to serve ads to users based on their visit to your sites and/or other sites on the Internet.
  • Users may opt out of personalized advertising by visiting Google Ads Settings.

4. Third-Party Libraries

Our tool utilizes trusted third-party content delivery networks (CDNs) to load libraries such as CodeMirror, FontAwesome, and Tailwind CSS. These CDNs may log your IP address and browser string for security and analytical purposes.

5. Contact Information

For any questions regarding this privacy policy, you may contact us via the source provided in the "About" section of this application.

Terms of Service

1. Acceptance: By using OnlineViewer.net, you agree to these terms.

2. User Content: You retain all rights to the code you input. We do not claim ownership of your work.

3. Prohibited Actions: You may not use this tool to create, test, or host malicious scripts, phishing pages, or illegal content.

4. Disclaimer: The service is provided "as-is" without any warranties. We are not responsible for any data loss, browser instability, or damages resulting from the use of this tool.

Last Updated: February 11, 2026

About HTML Live Preview

HTML Live Preview is a fast HTML editor and formatter with an instant live preview. View, edit and format your HTML in real-time!

You can see the live preview of the HTML on the same page, but you can also show the preview in a new separate tab where it is more stable.


The viewer highlights the HTML for better readability using the high performance editor: CodeMirror. This highlighting is done using a reliable third-party library: highlight.js.

The formatting function is done using an efficient third-party library: JS Beautifier.

Available Functions

Preview: New tab
Format: Beautify
Sample: Starter text
Clear: Erase all
Copy: To clipboard
Mode: Light/Dark

100% Private

All input is processed locally (not by a server) and it is thus 100% safe and private.

Internal Libraries

CodeMirror, Bootstrap, Tailwind, Font Awesome

© 2026 OnlineViewer.net