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

Publish to WordPress

DevidCodeDevidCode159 downloads

Publish the active note as a WordPress draft, directly via the REST API or through a custom webhook.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Publish the active Obsidian note as a WordPress draft — directly via the WordPress REST API, or through a custom webhook (e.g. n8n).

Write in Obsidian, click once, get a draft in WordPress — no copy-paste.

Features

  • Ribbon icon + commands to publish the active note as a draft.
  • WordPress REST backend (default): uses Application Passwords — nothing to install on the WordPress side.
  • Optional custom-webhook backend for advanced pipelines (queue, multi-target, n8n…).
  • Converts the note body to HTML and attaches a featured image (frontmatter image: or the first embedded image).

Getting started (WordPress backend)

1. Create an Application Password in WordPress

In WordPress admin: Users → Profile → Application Passwords → type a name (e.g. Obsidian) → Add new application password → copy the generated password.

Requires HTTPS — Application Passwords are rejected over plain HTTP.

2. Configure the plugin

Settings → Publish to WordPress:

  • Backend: WordPress (direct REST)
  • Site URL: https://your-site.com
  • Username: your WordPress login (not your email)
  • Application password: the one you just generated (with or without spaces)

3. Write a note and publish

Add a marker line to your note (default **Post final :**); everything after it becomes the post body:

**Post final :**

First paragraph.

Second paragraph.

Then click the ribbon icon → Draft to WordPress (or run the command Publish current note as draft). A draft appears in your WordPress admin.

  • Title = frontmatter wp_title, otherwise the note's file name.
  • Featured image = frontmatter image:, otherwise the first embedded image in the note.

Troubleshooting

Request failed, status 401

Authentication was rejected. Two common causes:

  1. Wrong username / application password. The username is your WordPress login, not your email.

  2. Your host strips the Authorization header. Common on shared hosting with Apache + PHP-FastCGI (e.g. some OVH plans). Application Passwords travel in that header, so if it's stripped, auth always fails. Add this to your site's root .htaccess, above the # BEGIN WordPress line:

    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    </IfModule>
    

    Then retry.

Custom webhook backend (advanced)

Switch the backend to Custom webhook and set your endpoint URL(s). The plugin POSTs a JSON payload to your automation (e.g. an n8n workflow):

  • Draft action → { title, content, status: "draft", image_b64?, image_name?, image_mime? }
  • Queue action → { targets, wp_title, wp_content, image_b64?, … } where targets comes from the frontmatter cibles.

How the note is read

  • The body is taken after the marker (configurable in settings).
  • Lines starting with ### Bloc are ignored; blank-line-separated blocks become <p>…</p>; *(…)* becomes <em>…</em>.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Publish the active Obsidian note as a WordPress draft via the REST API or a custom webhook. Convert Markdown to HTML, set the title from frontmatter or filename, attach a featured image from frontmatter or the first embedded image, and send the note with a ribbon icon or command.
PublishingExportIntegrations
Details
Current version
1.0.1
Last updated
Last month
Created
Last month
Updates
1 release
Downloads
159
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
DevidCodeDevidCodedevidcode
GitHubdevidcode
  1. Community
  2. Plugins
  3. Publishing
  4. Publish to WordPress

Related plugins

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

Digital Garden

Publish your notes to a digital garden for others to enjoy.

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信公众号(支持自定义 CSS和公众号贴图)、飞书、小红书、知乎、微博、CSDN等20+平台。

Quartz Syncer

Manage and publish your notes to Quartz, the fast, batteries-included static-site generator.

BRAT

Easily install a beta version of a plugin for testing.

Local REST API with MCP

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

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.