Embed HTML

approvedunreviewed

by Michael Naumov

Adds support for embedding HTML files.

★ 39 stars↓ 25,207 downloadsUpdated 5d agoMIT

Embed HTML

Buy Me a Coffee GitHub release Obsidian downloads Minimum Obsidian version Coverage: 100%

Obsidian embeds notes, images and PDFs, but an .html file in your vault is just a file you can open — you cannot show it inside a note. So a report, a chart exported from another tool, or a page you built yourself has to live outside your notes, or be flattened into a screenshot.

This plugin embeds HTML files directly in a note, with the same ![[file.html]] syntax you already use, sized how you want, styled to match your theme, and able to run its own JavaScript.

Without the plugin: an HTML file you cannot show

More screenshots
Embed an HTML file with the syntax you already use Give it exactly the room you want Or embed just one element out of the page The page runs its own JavaScript Without the plugin: an HTML file you cannot show Embed an HTML file with the syntax you already use Give it exactly the room you want Or embed just one element out of the page The page runs its own JavaScript

Demo vault

The documentation is an interactive demo vault. Every feature has a note that explains what it does and why you would want it, with real HTML files already in place to embed.

Start reading here — it is plain markdown, so it works on GitHub with nothing installed.

A copy of the vault ships with every release. You can access it via any of the following:

  1. Running the Embed HTML: Open demo vault command.
  2. Downloading embed-html-demo-vault.zip from the Releases. It unzips into a single embed-html-demo-vault-<version> folder.
  3. Browsing its source in demo-vault/ in this repository.

What it does

See also

My other Obsidian resources

PluginFeaturesHow Embed HTML differs
Artifact EmbedFile, URL or inline HTML cards; reload/copy; theme styling; height onlyOverlaps on file/URL content; native embed syntax; width and height
Custom FramesWeb-app panes; presets and custom styling; configured-frame blocksOverlaps on web content; also embeds vault HTML files
HTML EmbedUnlisted; vault HTML with scripts; sized html-embed blocksOverlaps on file embeds; native syntax and web pages too
HTML Embed AnywhereUnlisted; file/URL html-embed blocks; canvas cards; Plotly fittingOverlaps on file/URL content; native embed syntax
HTML Page PreviewReading-view HTML embeds; global 16:9 or infinite heightBroader rendering: per-embed sizes; Live Preview too
HTML Prototype ViewerHTML tabs; device-width presets; live reload; html-preview blocksAlternative syntax: native embeds; file and web-page content
HTML ReaderHTML/MHTML tabs; five trust modes; search and zoom; no note embedsDifferent placement: embeds content inside notes
HTML V EditorHTML-file embeds and inline blocks; visual HTML editing; desktop-onlyOverlaps on embeds; mobile support; never writes the HTML file
HTML Viewer PlusSized HTML-file embeds; element selection; zoom/search; MHTML viewerOverlaps on file embeds; also embeds web pages
Local HTML Embedhtml-embed blocks; vault files or note-matched files; desktop-onlyAlternative syntax: native embeds; mobile support
Local Web Page ViewerHTML tabs; inlined stylesheets; zoom, bookmarks, scroll memory; desktop/mobileDifferent placement: embeds content inside notes
Style HTML ViewerHTML tabs and resizable html-viewer blocks; per-file script consent; diagnosticsAlternative syntax: native embeds; explicit per-embed dimensions
ZJ HTML StudioSized HTML-file embeds; local server; trust modes; live reload; desktop-onlyOverlaps on file embeds; also web pages; mobile support

Last searched for similar plugins on 2026-10-26.

Installation

The plugin is available in the official Community Plugins repository.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin (id: embed-html) are hidden.

If you need to enable them refer to the documentation.

Changelog

All notable changes to this project will be documented in the CHANGELOG.

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

Buy Me A Coffee

Filing an issue (for AI agents and humans)

Open issues through the issue forms, not as blank issues.

To report a bug from inside Obsidian, run the Embed HTML: Report a bug command. It opens the bug form with the plugin version, the Obsidian version and your operating system already filled in.

Filing from the CLI or the API (gh issue create --body, or an AI agent filing for you) skips the form, and gh issue create --template cannot load an issue form. In that case, open the matching form in .github/ISSUE_TEMPLATE/, copy every field as a ### <label> heading in the form's order, and fill in each one. Always state the plugin version, the Obsidian version and your operating system.

License

© Michael Naumov

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.