Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Obsidian Web Clipper

Obsidian Web Clipper

Obsidian Web Clipper is an official Obsidian browser extension that saves any web page as a local Markdown note with one click.

Obsidian Web Clipper is free, open-source, and ad-free, making it a powerful tool for building your personal knowledge base.

Installation

Web Clipper supports all major browsers; install it from the corresponding store.

Browser Installation link
Chrome / Brave / Arc / Vivaldi Chrome Web Store
Firefox Firefox Add-ons
Safari (iOS / macOS) App Store
Edge Edge Add-ons

After installation, click the Obsidian icon in the browser toolbar to open the Clipper panel.

On first use, it automatically detects the running Obsidian vault and completes the association, requiring no extra configuration.

We can set the Chinese language in Settings by clicking the Obsidian icon and then the Settings button:

In General options, set the language to Chinese:


Core Features

Web Clipper provides two main usage modes: full-page clipping and highlight clipping.

Full-page clipping

Open any web page, click the extension icon, then click "Add to Obsidian", and the page content is saved to your vault in Markdown format.

Web Clipper automatically extracts the following content:

Highlight clipping

Do not want to save the whole article? Select the paragraph you are interested in, click the highlight button, and only the marked part is saved.

Highlighted content is written into the note as a blockquote (>). When you revisit the page, your highlights remain visible.

The operation flow is as follows:

  1. Use the mouse to select text or images on the page
  2. Click the extension icon
  3. Select "Highlight selected content"
  4. After accumulating all highlights, click "Add to Obsidian" to save them all at once

You can also right-click and select Obsidian Web Clipper to save:


Templates: make clipping smarter

This is Web Clipper's most powerful feature.

By default all web pages are saved in the same format, while templates let you customize the save structure for different types of pages.

We can view it under Default in the Templates option on the Settings page:

Built-in template types

The Web Clipper website showcases several typical templates for different scenarios:

Template type Extracted content Applicable scenarios
Article template Automatically fills author, published, and description; the body is saved in article format Reading content, blogs, news
Recipe template Extracts the ingredient list (automatically converted to to-do checkboxes - [ ]), steps, and nutrition info Recipe checklist management works better with the Tasks plugin
Movie/book template Extracts director, rating, duration, lead actors, synopsis, etc. Use with the Dataview plugin to build a movie-watching database
Academic paper template Fully preserves code blocks and LaTeX formulas Academic sites such as arxiv and ACM Digital Library

Create a custom template

In Extension Settings -> Templates -> New Template, you can customize the following:

Configuration Item Description Example
Template name The identifying name of the template "YouTube Video" "GitHub Repository"
Note name Supports variables {{title}} or {{date}}-{{title}}
Save location Specify the folder in the vault Clippings/Articles
Properties Structured properties automatically filled at the top of the note (YAML front matter) author, published, tags, etc.
Note body Fully customizable Markdown template Can embed variables and arbitrary Markdown content

Automatic template triggering

After setting "template trigger conditions", the corresponding template is applied automatically when visiting specific sites, with no manual selection needed.

Trigger conditions Auto-apply
URL contains youtube.com YouTube template
URL contains arxiv.org Paper template
URL contains amazon.com Shopping template

Template variable quick reference

Templates can use variables to automatically fill in page data, in the format {{variable_name}}.

Common preset variables

Variables Description
{{title}} Page title
{{url}} Current URL
{{author}} Author
{{published}} Publish date
{{description}} Page description
{{content}} Body content (Markdown format)
{{highlights}} All highlighted content
{{date}} Current date
{{site}} Site name
{{domain}} Domain names
{{image}} Social share image URL
{{words}} Word count

Advanced variables

Meta variables are used to extract page content from tags:

Example

{

{

meta:name:description

}

}

      <- description meta tag

{

{

meta:property:og:title

}

}

     <- Open Graph title

CSS selector variables are used to precisely extract specific page elements:

Example

{

{

selector:h1

}

}

                <- extract h1 heading text

{

{

selector:.author

}

}

           <- extract element with class author

{

{

selector:img.hero?src

}

}

      <- extract the src attribute of a specific image

Schema.org variables are used to extract information from structured data:

Example

{

{

schema:@Recipe:name

}

}

        <- recipe name

{

{

schema:@Article:author

}

}

     <- article author

{

{

schema:author.name

}

}

         <- without specifying type, directly take author.name

AI prompt variables (Prompt variables) require the Interpreter feature to be enabled:

Example

{

{

"Summarize this article in three sentences"

}

}

{

{

"Extract all person names in the text and return them as a list"

}

}

{

{

"Translate the key arguments into Chinese"

}

}


Practical template example: article clipping

Below is a complete article template configuration that can be created and used directly in Settings.

Note name

Example

{

{

date:YYYY-MM-DD

}

}

{

{

title

}

}

Save location

Example

Clippings/Articles

Properties (YAML front matter)

Example

span style="color: green;">

category

:

Clippings

author

:

"{{author}}"

published

:

"{{published}}"

source

:

"{{url}}"

site

:

"{{site}}"

description

:

"{{description}}"

tags

:

[

clippings, articles

]

Note body

Example

[

!info

]

Source

Author:

{

{

author

}

}

|

Published on:

{

{

published

}

}

|

Original link

{

{

content

}

}


Privacy and data ownership

This is Web Clipper's biggest advantage over services like Pocket and Instapaper.


Common questions

Below are common issues and solutions when using Web Clipper.

Problem Solution
Cannot find the file in Obsidian after clipping? Check whether the "Vault" in the extension settings points to the correct Obsidian vault, and whether the folder set in "Note location" exists.
The extracted body content is inaccurate, mixed with ads and navigation bars? In the template body, use CSS selectors such as {{selector:article}} or {{selector:.post-content}} to precisely extract content for specific sites.
Can it save to multiple vaults at the same time? You can add multiple vaults in the "General" page of the extension settings and specify the target vault in each template.
Can it be used on Safari? Yes. The Safari version works on both iOS and macOS and is installed from the App Store. Its features are essentially the same as the desktop browser version.

More resources