Obsidian Web Clipper Templates
Obsidian Web Clipper templates decide the note name, the folder, the properties, and the body before the clip is saved. The mechanics below are from Obsidian's help pages and from the public clipper-templates repo, both opened on 2026-11-23. This is not the defuddle agent skill. That skill fetches a URL. The comparison is Obsidian skills and web capture. Choosing a clipper is the 2026 clipper guide.
Short answer
A Web Clipper template is a JSON note recipe: triggers pick the page, variables fill the fields, and filters reshape them. {{content}} is the main article in Markdown. A prompt variable needs Interpreter. The extension reads the open tab, including a page you are signed into. Defuddle's URL command does not.
Where do you edit a template?
The templates help page says: open Web Clipper settings, click New template, or duplicate one from the More menu. Edits save automatically. Import takes a .json file, including a drag onto the template list. Export downloads that JSON. The same page says templates use variables, filters, and logic.
Behavior is one of three:
- Create a new note.
- Add to an existing note, at the top or the bottom.
- Add to the daily note, at the top or the bottom. This needs the daily notes plugin.
The example repo's README points at that same help page for install steps. Its templates folder, on this date, contains Recipes, Product, ArXiv, Goodreads, Google Maps, IMDB, IMDB reference, Letterboxd, Redfin, Wikipedia, YouTube, and ChatGPT.
What can a variable insert?
The variables page says variables can go in the note name, note location, properties, and note content. It lists five kinds: preset, prompt, meta, selector, and schema.org. The ... menu in the extension shows the variables for the current page.
Preset variables on that page:
| Variable | What the help page says |
| --- | --- |
| {{title}} | Title of the page |
| {{url}} | Current URL |
| {{content}} | Article content, highlights, or selection, in Markdown |
| {{contentHtml}} | The same choice, in HTML |
| {{author}} | Author |
| {{description}} | Description or excerpt |
| {{published}} | Published date |
| {{date}} | Current date |
| {{time}} | Current date and time |
| {{site}} | Site name or publisher |
| {{domain}} | Domain |
| {{image}} | Social share image URL |
| {{favicon}} | Favicon URL |
| {{selection}} / {{selectionHtml}} | The selection, Markdown or HTML |
| {{highlights}} | Highlights with text and timestamps |
| {{fullHtml}} | Unprocessed HTML for the full page |
| {{words}} | Word count |
| {{language}} | Page language |
The same table also lists {{model}}, {{modelId}}, and {{modelProvider}} for Interpreter. The page says {{content}} tries to extract the main content and may not be the region you wanted. Selector variables are the documented way to point at a specific element instead.
A prompt variable is written with quotes, for example {{"a summary of the page"}}. The help page says the quotes are what make it a prompt, that Interpreter must be enabled, and that the prompt is replaced only after Interpreter runs. It also says prompt variables are slower, and that cost and privacy depend on the provider. If the field is in a consistent place on the sites you clip, the page says to prefer a preset, meta, selector, or schema variable.
Schema.org variables read data already on the page. The templates page says a value such as schema:@Recipe.name can both match a trigger and fill a field.
Two templates from the official example repo
The Wikipedia template is a site template. Its trigger is a regular expression:
/^https:\/\/[a-z-.]+\.wikipedia\.org\/wiki\/.*$/
The note name is {{title}}. The folder is Clippings. The body is not {{content}}. It is a selector variable that takes #mw-content-text, drops navbox, print footer, and side-box nodes, and converts the rest to Markdown:
{{selectorHtml:#mw-content-text|remove_html:(".navbox,.printfooter,.side-box")|markdown}}
Properties include source set to {{url}}, created set to {{date}}, and description set to {{description}}.
The Recipes template does not name a hostname. Its only trigger is schema:@Recipe. The body asks schema.org for ingredients and instructions:
{{schema:recipeIngredient|list:task}}
{{schema:recipeInstructions[*].text|list:task}}
The filters page says filters chain with | and apply in the order written. It documents date (for example {{date|date:"YYYY-MM-DD"}}), table, and wikilink. The Recipes file also uses list, uncamel, capitalize, table, replace, wikilink, and join. Those names are in the published JSON. This guide does not add a meaning for a filter that the help page did not define beyond that chaining rule.
The logic page shows {% if %}, {% for %}, and {% set %}. A {% set %} can copy another variable, a literal, a filtered expression, or a selector. Neither example template above needs a conditional. Use one when a property should be omitted on pages that lack it.
How does the right template get chosen?
The templates page says you can put several rules on one template, one per line. A rule without slashes matches when the URL starts with that string. https://obsidian.md matches any URL with that prefix. A rule wrapped in / is a regular expression, and characters such as . and / must be escaped. schema:@Recipe matches that type. schema:@Recipe.name matches when the name is present. schema:@Recipe.name=Cookie matches that exact name.
The first match in the template list wins. Drag templates to change the order. If no rule matches, Web Clipper uses the first template in the list as the fallback. Put the general article template at the top if that is the one you want for ordinary pages.
Where Web2MD fits, and where it does not
Web Clipper is the tool that files a page into a vault with this template language. It runs in the browser, so the input is the tab you have open. A page you can read while signed in is available to the extension. You do not paste cookies into a template to get that.
Defuddle, the library Web Clipper was built with, is a different interface when an agent runs defuddle parse on a URL. The Defuddle README accepts a file, a URL, or stdin HTML. It documents --user-agent for a 403. It does not document sending your browser cookies or reading the open tab. A login page means the fetch missed. That split is the subject of the skills article and the Defuddle review.
Web2MD does not implement {{content}}, schema triggers, or .json clipper templates. The extension's Save to Obsidian builds an obsidian://new link. The frontmatter it writes, when the fields exist, is title, source, author, published, created, description, and tags, including a clippings tag. That is a fixed shape, closer to the Wikipedia template's property list than to a recipe schema. There is no importer in this repo for a Web Clipper JSON file.
Use Web Clipper when a person is clipping into Obsidian and the template should change per site. Use Web2MD when the next step is an agent or an AI chat, or when the words exist only after login and no one is exporting the session. llms.txt says the free tier converts public pages on the server, three times a day, and Pro converts inside the signed-in browser. Agent Bridge, also Pro, is how an MCP client asks the connected Chrome extension to read that rendered page. It does not grant a login the browser does not already have. Setup and limits are on Agent Bridge and pricing.
A public URL that should become Markdown without a vault is URL to Markdown. The hosted options are compared in URL-to-Markdown APIs for RAG.
A small default template
For a normal article, the variables page is enough without a prompt:
---
title: {{title}}
source: {{url}}
author: {{author}}
published: {{published}}
created: {{date|date:"YYYY-MM-DD"}}
description: {{description}}
---
{{content}}
{{date|date:"YYYY-MM-DD"}} is the date filter example from the filters page. {{content}} is the preset for the main article. If a site's article is not what {{content}} returns, copy the Wikipedia pattern and name the element you can see, instead of adding a prompt.
Related guides
Related Articles
Most Read
last 30 days- #1Can Claude Read Reddit? No — Here's the One-Click Fix (2026)
- #2HTML vs Markdown for LLMs: I Wasted 67% of My Tokens for a Year
- #3Reducing Token Waste in ChatGPT and Claude: 7 Techniques That Cut Costs 72%
- #4Obsidian Web Clipper Official Plugin 2026: Complete Guide + When You Need More
- #5Reddit JSON API vs Scraping: The Honest 2026 Comparison for Developers