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

JSONifier

kjellconnellykjellconnelly6k downloads

JSON.stringify() or JSON.parse() highlighted text and copy to clipboard.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

All this plugin does is convert highlighted text via JSON.stringify(text) or JSON.parse(text).

How to use

  1. Highlight text you can to convert
  2. Use hotkey to parse selection (default Cmd+Alt+[) or stringify selection (default Cmd+Alt+[). You can update hotkeys if you'd like.
  3. Paste wherever you want. (Note, selection must be a valid JSON string to parse it. So if you're copying a JSON string, make sure you select the quotes around it as well).
Also useful to validate JSON

As you may know, JSON.parse() also throws an error if the string is not valid JSON. So if you're writing a JSON codeblock, or editing frontmatter in JSON format, you can use the JSON.parse() function to check your code.

Example

I'm using Obsidian.md to write markdown, but I'm a developer who needs to send my markdown as a string using JSON.

# My Website

Hello and welcome to *my website*. It's very cool. Here are 3 things you should know about me.

1. I like cats.
2. I like dogs.
3. ???
4. Profit!

So now we need to convert this into a JSON string, using this plugin. I highlight it and using the JSON.stringify() function. The result is copied to your clipboard, so paste it wherever. Now what will that string look like?

"# My Website\n\nHello and welcome to *my website*. It's very cool. Here are 3 things you should know about me.\n\n1. I like cats.\n2. I like dogs.\n3. ???\n4. Profit!"

Ok cool! But wait... I'm coming back to this project a week later and I want to edit my markdown file... but all I saved was my JSON string! Oh no!

alt text

Now what? Well, highlight the JSON string from above and use the JSON.parse() function. Now the result is copied to your clipboard as the original markdown. So paste it and edit it again.

HealthFair
ReviewSatisfactory
About
Convert highlighted text into a JSON string or back into original text using JSON.stringify and JSON.parse. Copy results to the clipboard and validate JSON on the fly by parsing selections to catch invalid JSON.
JSONEditingFormatting
Details
Current version
1.0.1
Last updated
6 years ago
Created
6 years ago
Updates
1 release
Downloads
6k
Compatible with
Obsidian 0.9.12+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Author
kjellconnellykjellconnelly
github.com/KjellConnelly/obsidian-jsonifier.git
GitHubkjellconnelly
  1. Community
  2. Plugins
  3. JSON
  4. JSONifier

Related plugins

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

List Callouts

Create simple callouts in lists.

Symbols Prettifier

Prettify the symbols with actual symbols you commonly type, like arrows.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Thino

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

Admonition

Admonition block-styled content.