HTML Preview

Render and preview HTML in a sandboxed iframe.

HTML Preview

What it does

Renders HTML in a sandboxed browser frame. Write HTML on the left, see the rendered result on the right. Switch between split view, source-only, and preview-only modes.

How to use

  1. Type or paste HTML in the source area
  2. The preview updates automatically
  3. Toggle between Split, Source, and Preview views

Common use cases

  • Testing HTML templates before deployment
  • Prototyping UI snippets
  • Learning HTML by experimenting
  • Checking email HTML templates
  • Testing CSS animations in HTML

Privacy

The HTML runs in a sandboxed iframe. No data is sent to any server.

FAQ

Can the preview access the internet? The iframe is sandboxed with allow-scripts only. External resources may not load due to sandboxing.

Are CSS and JavaScript supported? Yes, you can include <style> and <script> tags in your HTML.

Is it safe to preview untrusted HTML? The sandbox prevents access to parent page content, but be cautious with JavaScript in previewed HTML.

Visualizador HTML

O que faz

Renderiza HTML em um frame de navegador em sandbox. Escreva HTML à esquerda, veja o resultado renderizado à direita. Alterne entre modo dividido, apenas código e apenas visualização.

Como usar

  1. Digite ou cole HTML na área de código
  2. A visualização atualiza automaticamente
  3. Alterne entre Dividido, Código e Visualização

Casos de uso comuns

  • Testar templates HTML antes do deploy
  • Prototipar snippets de UI
  • Aprender HTML experimentando
  • Verificar templates HTML de email
  • Testar animações CSS em HTML

Privacidade

O HTML roda em um iframe em sandbox. Nenhum dado é enviado para nenhum servidor.

Ferramentas relacionadas

Perguntas frequentes

A visualização pode acessar a internet? O iframe é sandboxed com allow-scripts apenas. Recursos externos podem não carregar.

CSS e JavaScript são suportados? Sim, você pode incluir tags <style> e <script> no seu HTML.

É seguro visualizar HTML não confiável? O sandbox previne acesso ao conteúdo da página pai, mas seja cauteloso com JavaScript em HTML visualizado.