Discuvr HTML Viewer

Office & Data

CSV to Excel Paste CSV and see it as a spreadsheet instantly, with numbers, dates and IDs typed the way Excel should hold them. Download a clean .xlsx only when you want it. Sign PDF Sign a PDF in your browser - draw, type or upload your signature, place it on any page, add the date, and download the signed copy. The file never leaves your device. Redact Permanently redact PDF, Word, Excel, PowerPoint, text and image files. Matches and boxes are removed from the file itself, not covered up, and the result is checked again before you download it. What is my IP See the public IP address websites see when you connect, whether it is shared (CGNAT) or private, and what else your browser reveals. Case Converter & Line Tools Change text to UPPER, lower, Title or Sentence case, turn names into camelCase or snake_case, and remove duplicate lines or sort a list. Text Compare Paste two versions of a text to see every added, removed and changed line, with the changed words highlighted.

Writing & Proposals

Tone Polish Reformat what you wrote with proper grammar, structure and articulation - in your own voice. One paste, one reply, no chat session. Freelance Proposal Generator Describe a client problem and get a scoped, priced, ready-to-send freelance proposal in seconds.

Legal & Compliance

IP Law Q&A Chatbot Ask questions about Indian IP law - trade marks, patents, copyright, designs and more, with the web search results it used listed above each answer. Patent FER Reply Generator Paste the objections from a First Examination Report to draft a structured reply, or upload a draft for an IP risk review. Government Scheme Eligibility Finder Answer a short set of questions once. Sign in and we save your answers, so you can check which central government schemes you may qualify for without retyping them.

Privacy & Security

Website Security Scan Scan a domain for real, reproducible security weaknesses. Every finding carries the observation behind it and the command to verify it yourself. Image Scrub See exactly what your photo reveals about you - GPS, camera serial, your name - then strip it. Crop, resize, blur faces and convert, all without the image being stored anywhere.

Developer Tools

JSON Formatter Beautify, minify and validate JSON in one paste - with the exact line and column when it will not parse, and a count of what is actually in the document. Python Formatter Reformat Python the way Black would, with the line length and quote handling you choose - and a count of exactly how many lines changed. HTML Viewer Paste HTML and see it rendered live in a sandbox, at phone, tablet or desktop width - with beautify, minify, a console for scripts and a report of what is broken in the markup. IP Subnet Calculator Enter CIDR notation or an IP with a netmask and get the network address, broadcast address, usable host range and total address count instantly. Encode / Decode Encode or decode Base64, Base64URL, URL percent-encoding, HTML entities and hex as you type, with full UTF-8 support. Unix Timestamp Converter Convert a Unix epoch timestamp in seconds, milliseconds, microseconds or nanoseconds to a date in UTC or a major world time zone, and a date back to a timestamp. System Diagram Maker Type arrows like User -> API -> Database and get a laid-out architecture or flow diagram. Fold groups into one box for the big picture, number the steps for a detailed flow.

AI Workbench

AI Playground Compare responses from multiple LLM providers side by side in real time. Bring your own API keys. Agent Playground Experiment with AI agents that use tools - web search, a calculator, URL fetching - across multiple providers.

Learning

Study Buddy An interview-prep coach for top tech jobs, from the first study day to an accepted offer: a plan across DSA, LLD, system design, behavioural and AI-assisted coding, mock interviews, a resume review, an applications tracker and offer comparison.

Everyday Helpers

QR Code Generator Create QR codes from text, URLs, WiFi credentials or contact info - as PNG images or SVG vectors, with the error correction level you choose. Unit Converter Convert between length, weight, temperature, volume, speed, area and energy units instantly - 40+ unit types with instant results. Password Generator Generate a random password with cryptographically secure randomness, tune its length and character types, and see its strength in bits of entropy. Word Counter & Readability Analyzer Count words, characters, sentences and paragraphs, estimate reading time, and score readability - with true character-based counting for Chinese, Japanese, Korean and Thai text. Age / Date Difference Calculator Find someone's exact age, or the exact difference between any two dates - years, months and days, plus the total number of days and weeks. Date Difference Calculator Count the days, weeks, months and working days between two dates, or add and subtract days from a date. Percentage Calculator Calculate X% of Y, what percent one number is of another, percentage increase or decrease between two numbers, or reverse percentage - four common calculations in one tool. SIP Calculator See what a monthly investment grows to, with a yearly step-up, a starting lump sum and inflation, or find the monthly amount a goal needs. BMI Calculator Calculate your Body Mass Index (BMI) from height and weight, in metric or imperial units, classified against the WHO adult categories - underweight, normal, overweight, obese.
Sign in Get started
All toolsDeveloper Tools

HTML Viewer

Paste HTML and see it rendered live, at any screen width - then tidy it, shrink it or check it for problems.

HTML

Preview

Press Inspect for element counts, the heading outline and a list of problems in the markup.

About HTML Viewer

An email template, a snippet from a ticket, an exported report - sometimes you just need to see what a piece of HTML looks like. Paste it and it renders as you type, inside a locked-down frame, at the screen width you pick. Alongside the preview you can tidy it, shrink it, run its scripts with a console, and see a list of what is actually wrong with the markup.

What it does

  • Live preview as you type; above 200,000 characters it pauses until you press Refresh.
  • Phone, tablet, desktop and full-width preview sizes, plus full screen.
  • Scripts are off by default; switch them on and see console output and errors.
  • Beautify messy markup or minify it, without touching the contents of pre, script or style.
  • An inspection report: element counts, the heading outline and concrete problems.
  • Open a local .html file, copy the result or download it.

How it works

  1. 1 Paste HTML, open a .html file or load the sample.
  2. 2 Pick a preview width and decide whether scripts may run.
  3. 3 Beautify, minify or inspect it, then copy or download the result.

Why the preview is sandboxed

Pasted HTML can contain scripts, forms and links you did not write. The preview runs in an iframe sandbox with its own opaque origin, so nothing in it can read this site's cookies or your session, submit anywhere on your behalf, or navigate this page away. Scripts stay off until you turn them on.

What the inspection checks

It reads the markup with a standard HTML parser and reports only what it saw: tags opened and never closed, closing tags with no opening tag, images without alt text, duplicate ids, links that open a new tab without rel="noopener", heading levels that skip, resources loaded over http://, and for a full page a missing doctype, title, lang or viewport tag.

What the inspection leaves alone, on purpose

It reports mistakes, not style. End tags the HTML standard lets you leave out, such as </p>, </li>, </td>, </tr> and </option>, are never listed as unclosed, and void elements such as <br>, <img> and <input> need no closing tag. An empty alt="" counts as alt text, which is correct for a decorative image. A target="_blank" link passes with rel="noopener" or rel="noreferrer". A plain http:// link in <a href> is not counted as insecure; only loaded resources such as images, scripts, stylesheets and iframes are. Moving back up the heading levels (h4 to h2) is fine; only a jump down that skips a level (h2 to h4) is reported. The doctype, title, lang and viewport checks run only when the paste is a whole page, meaning it has a doctype or an html, head or body tag, so an email block or CMS snippet is not marked down for them.

Checking an HTML email before it goes out

Preview it at Phone width (375 px) first, since many people open email on a phone, then at Tablet (768 px) and Desktop (1280 px). Leave scripts off: email apps do not run JavaScript, so the scripts-off preview is closer to what the reader sees. Use absolute https:// image URLs, because neither the preview nor the recipient's mail app can see files on your computer. Minify drops ordinary comments but keeps conditional comments that open with <!--[if, such as <!--[if mso]> ... <![endif]-->. It does not keep the <!--<![endif]--> closer of the <!--[if !mso]><!--> pattern, so do not minify a template that uses it, or Outlook may hide everything after that point. The preview is a browser rendering; classic Outlook for Windows draws email with Word's engine, so send yourself a test there before a large mailing.

Questions

Is my HTML uploaded or stored?

The preview, beautify and minify all happen in your browser. Only the inspection report sends the markup to the server, where it is parsed and answered in the same response - nothing is written to disk or logged, and usage records hold only counts.

Why do my scripts not run?

Scripts are off by default because pasted code is untrusted. Tick "Run scripts" and the preview reloads with JavaScript enabled, still inside the sandbox, and console output appears below the preview.

Why do relative images or stylesheets not load?

The preview is built from the pasted text, not from your computer or your server, so a relative path like images/logo.png is looked up on this site and is not found. Use absolute URLs, or add a <base href="..."> tag that points at where the files really live.

Does beautify change how the page looks?

It only re-indents between tags and leaves pre, textarea, script and style contents alone. Whitespace between inline elements can occasionally shift slightly, so check the preview after formatting.

How large a document can it handle?

The inspection report accepts up to 1,000,000 characters and lists at most 200 problems. Live preview pauses above 200,000 characters so typing stays responsive; press Refresh or Ctrl+Enter to update it.

Can I preview an HTML email template?

Yes. Paste the email's HTML or open the .html file, switch the width to Phone (375 px) and Desktop (1280 px) to see both layouts, and press Inspect to find images without alt text and resources loaded over plain http://. The preview uses your browser's engine, while each email client uses its own and many drop part of the CSS, so it shows roughly what a browser-based webmail shows, not exactly what every inbox shows. Email clients do not run JavaScript, so leave Run scripts off. Before a real send, mail a test to the clients your readers use.

Is it safe to open an HTML file someone sent me?

Safer than opening it directly. Open file reads it into the editor in your browser, and nothing goes to the server unless you press Inspect. The preview is a sandboxed frame with scripts and form submission off, so the page cannot run code, send a form or reach this site's cookies. Images and stylesheets with a full http(s) address still load, so the sender can tell the file was opened. Read the source first, leave Run scripts off, and never type a password into a page you were sent.

Why do accented letters turn into � after I open a file?

Open file always reads the file as UTF-8 and ignores any <meta charset> tag inside it. A page saved as Windows-1252 or ISO-8859-1, common with older Windows editors and exports, stores letters such as é, ü and £ as bytes that are not valid UTF-8, so each one shows as the replacement character �. Open the file in your editor, save it again as UTF-8 (Notepad: Save as, Encoding UTF-8; VS Code: click the encoding in the status bar, then Save with Encoding) and open it here again. Or open the file in your web browser, view its source and paste it here, since the browser has already decoded it with the page's own charset.

Why does a form or a link that opens a new tab do nothing in the preview?

The sandbox never allows form submission or pop-ups, even with Run scripts on, so pressing Submit sends nothing and links with target="_blank" or window.open() calls are blocked. This stops a pasted page from posting data or opening other sites. Ordinary links open inside the preview frame, and sites that refuse to be framed show an empty or refused page there. To check a form, read its action, method and fields in the source; Inspect also lists every target="_blank" link without rel="noopener". Test the real submission on your own development server.