Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Embed HTML

Michael NaumovMichael Naumov23k downloads

Adds support for embedding HTML files.

Add to Obsidian
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
Embed HTML screenshot
  • Overview
  • Scorecard
  • Updates44

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

  • Embed an HTML file in a note, with htm, html, shtml, xht and xhtml all supported. 01 Basic Embed · 07 File Extensions
  • Embed a page from the web or your local network by its address, with ![caption](https://host/page.html) or ![[https://host/page.html]] — shown as an isolated page that keeps its own styles and scripts. 14 Remote HTML Pages
  • Size it — a width, a height, both, auto-fit to the content, or full control with CSS declarations, with defaults in the settings. 02 Custom Size
  • Show only part of a page — scroll to an element by id, or extract just that element. 03 Scroll to Element · 04 Extract Element
  • It stays a real page — its JavaScript runs, its links work, and its stylesheets, scripts, images and fonts load. 05 JavaScript · 06 Links · 13 External Stylesheets and Assets
  • It fits your vault — follows your theme's color scheme, takes a border and background, and can open in its own tab or in your external browser. 09 Appearance · 08 Direct View · 11 Open in External Browser
  • Paths work how you expect — relative to the note or from the vault root. 10 Relative and Full Path
  • Table headers stay put while you scroll a long table. 12 Sticky Table Headers

See also

My other Obsidian resources

Plugin Features How Embed HTML differs
Artifact Embed File, URL or inline HTML cards; reload/copy; theme styling; height only Overlaps on file/URL content; native embed syntax; width and height
Custom Frames Web-app panes; presets and custom styling; configured-frame blocks Overlaps on web content; also embeds vault HTML files
HTML Embed Unlisted; vault HTML with scripts; sized html-embed blocks Overlaps on file embeds; native syntax and web pages too
HTML Embed Anywhere Unlisted; file/URL html-embed blocks; canvas cards; Plotly fitting Overlaps on file/URL content; native embed syntax
HTML Page Preview Reading-view HTML embeds; global 16:9 or infinite height Broader rendering: per-embed sizes; Live Preview too
HTML Prototype Viewer HTML tabs; device-width presets; live reload; html-preview blocks Alternative syntax: native embeds; file and web-page content
HTML Reader HTML/MHTML tabs; five trust modes; search and zoom; no note embeds Different placement: embeds content inside notes
HTML V Editor HTML-file embeds and inline blocks; visual HTML editing; desktop-only Overlaps on embeds; mobile support; never writes the HTML file
HTML Viewer Plus Sized HTML-file embeds; element selection; zoom/search; MHTML viewer Overlaps on file embeds; also embeds web pages
Local HTML Embed html-embed blocks; vault files or note-matched files; desktop-only Alternative syntax: native embeds; mobile support
Local Web Page Viewer HTML tabs; inlined stylesheets; zoom, bookmarks, scroll memory; desktop/mobile Different placement: embeds content inside notes
Style HTML Viewer HTML tabs and resizable html-viewer blocks; per-file script consent; diagnostics Alternative syntax: native embeds; explicit per-embed dimensions
ZJ HTML Studio Sized HTML-file embeds; local server; trust modes; live reload; desktop-only Overlaps 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

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

HealthExcellent
ReviewSatisfactory
About
Embed HTML files from your vault (.htm, .html, .shtml, .xht, .xhtml) directly into notes. Set custom width and height, and target an element by ID to scroll to or extract its contents. Use wiki-style links like [[file.html|400x300]] or [[file.html#id&mode=extract]] to control the embed.
HTMLFiles
Details
Current version
2.7.0
Last updated
Last week
Created
Last year
Updates
44 releases
Downloads
23k
Compatible with
Obsidian 1.14.5+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Michael NaumovMichael Naumovmnaoumov
mnaoumov.dev
GitHubmnaoumov
Xmnaoumov
  1. Community
  2. Plugins
  3. HTML
  4. Embed HTML

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Advanced URI

Control everything with URI.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.