# Diff / Text Compare Tool

**URL:** <https://forum.obsidian.md/t/diff-text-compare-tool/21593>\
**Category:** Plugins ideas (Archival in progress)\
**Created:** [July 27, 2021, 3:06am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593 "2021-07-27T03:06:14Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![andybyte](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@andybyte](https://forum.obsidian.md/u/andybyte)\
**Post date:** [July 27, 2021, 3:06am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/1 "2021-07-27T03:06:14Z")

</div>

I couldn’t find any other post with this idea so I’m sharing it here. Sometimes I import a bunch of notes and notice I have some similar ones and want to do a simple visual diff comparison of the two text files. I do this externally using various text tools but a neat plugin to do the trick would be handy.

---

<div class="post-metadata">

**Author:** ![I-d-as](https://forum.obsidian.md/user_avatar/forum.obsidian.md/i-d-as/32/59965_2.png) [@I-d-as](https://forum.obsidian.md/u/I-d-as)\
**Post date:** [July 27, 2021, 6:55am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/2 "2021-07-27T06:55:52Z")

</div>

I would love something like this. Very cool!

It might also be helpful if it could have a “search vault” functionality where any note that has a certain number of sequential matching characters would be returned. Maybe it could also have a leniency that allows a certain number of unmatched characters to be ignored in the determination.

I hope this idea isn’t too unrelated from your request, but what you are talking about is a problem I regularly deal with and for some reason when reading your request it triggered this idea for the first time.

I find myself searching by copying an important couple words or a sentence, and find the process to be very tedious. A plugin that automated this type of process would be awesome.

Great idea!

Thanks.

---

<div class="post-metadata">

**Author:** ![JAndrews2](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@JAndrews2](https://forum.obsidian.md/u/JAndrews2)\
**Post date:** [July 28, 2021, 2:31pm UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/5 "2021-07-28T14:31:22Z")

</div>

I’d love this for a different application. For those of us who wrote professionally (e.g. I’m an academic) and use a ZK method to assemble papers, self-plagiarism is a big risk. An app like this would go along way to helping: just store published versions I your vault and it’ll flag when you accidentally used the exact same note in two potential publications.

---

<div class="post-metadata">

**Author:** ![extraMangosPlease](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/7feea3/32.png) [@extraMangosPlease](https://forum.obsidian.md/u/extraMangosPlease)\
**Post date:** [February 23, 2022, 8:40pm UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/6 "2022-02-23T20:40:10Z")

</div>

Would find this very useful. I currently have another application solely for this purpose on the rare occasion that I need it– Because on those rare occasions it is a life-saving feature.

---

<div class="post-metadata">

**Author:** ![ryanwwest](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanwwest/32/27977_2.png) [@ryanwwest](https://forum.obsidian.md/u/ryanwwest)\
**Post date:** [June 12, 2022, 9:56pm UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/7 "2022-06-12T21:56:35Z")

</div>

I also think this would be great to have. I get conflicts sometimes when using my vault on different devices and it would be nice to see the differences and accept/merge the changes I want.

---

<div class="post-metadata">

**Author:** ![Ooker](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ooker/32/17469_2.png) [@Ooker](https://forum.obsidian.md/u/Ooker)\
**Post date:** [July 4, 2022, 7:55am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/8 "2022-07-04T07:55:46Z")

</div>

Take a look at this plugin

> **[GitHub - kometenstaub/obsidian-version-history-diff: Get a diff view of your...](https://github.com/kometenstaub/obsidian-version-history-diff)**
>
> Get a diff view of your Obsidian Sync, File Recovery and Git version history - GitHub - kometenstaub/obsidian-version-history-diff: Get a diff view of your Obsidian Sync, File Recovery and Git vers...

---

<div class="post-metadata">

**Author:** ![Calion](https://forum.obsidian.md/user_avatar/forum.obsidian.md/calion/32/36668_2.png) [@Calion](https://forum.obsidian.md/u/Calion)\
**Post date:** [October 25, 2022, 6:33pm UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/9 "2022-10-25T18:33:39Z")

</div>

Does that compare different notes in the same vault? It looks like it compares different versions of the same vault.

---

<div class="post-metadata">

**Author:** ![friebetill](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/8797f3/32.png) [@friebetill](https://forum.obsidian.md/u/friebetill)\
**Post date:** [February 4, 2023, 6:26am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/10 "2023-02-04T06:26:16Z")

</div>

Hey!

I created this plugin [File Diff](https://github.com/friebetill/obsidian-file-diff). With this you can easily compare two files. Optionally I added merge options, so you can easily fix the differences.

I created this plugin because I use [SyncThing](https://syncthing.net/) and it bothered me to clean up the merge conflicts by hand.

I am happy about feedback

---

<div class="post-metadata">

**Author:** ![holroy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/holroy/32/77699_2.png) [@holroy](https://forum.obsidian.md/u/holroy)\
**Post date:** [February 4, 2023, 9:33am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/11 "2023-02-04T09:33:43Z")

</div>

How would this deal with javascript or css files? Would it detect at all that they’re source code, or just be happy showing the differences?

---

<div class="post-metadata">

**Author:** ![friebetill](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/8797f3/32.png) [@friebetill](https://forum.obsidian.md/u/friebetill)\
**Post date:** [February 4, 2023, 9:38am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/12 "2023-02-04T09:38:48Z")

</div>

For the plugin, it does not matter which files are compared. You only have to be able to open the file somehow in Obsidian.

---

<div class="post-metadata">

**Author:** ![Stakker](https://forum.obsidian.md/user_avatar/forum.obsidian.md/stakker/32/46152_2.png) [@Stakker](https://forum.obsidian.md/u/Stakker)\
**Post date:** [April 28, 2023, 11:06am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/13 "2023-04-28T11:06:54Z")

</div>

Was just looking for a diff plugin and ended up here 🙂 I hope File Diff gets accepted into community plugins soon, because this would be super useful for me! (And I’m sure I’m not the only one.)

---

<div class="post-metadata">

**Author:** ![Emagin](https://forum.obsidian.md/user_avatar/forum.obsidian.md/emagin/32/48648_2.png) [@Emagin](https://forum.obsidian.md/u/Emagin)\
**Post date:** [August 18, 2023, 2:09pm UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/14 "2023-08-18T14:09:10Z")

</div>

I just use WinMerge (opensource) on the .md files. It’s very powerful and has so many merge options. [https://winmerge.org/](https://winmerge.org/)

---

<div class="post-metadata">

**Author:** ![leobard](https://forum.obsidian.md/user_avatar/forum.obsidian.md/leobard/32/46923_2.png) [@leobard](https://forum.obsidian.md/u/leobard)\
**Post date:** [January 19, 2025, 10:13am UTC](https://forum.obsidian.md/t/diff-text-compare-tool/21593/15 "2025-01-19T10:13:27Z")

</div>

@friebetill I just sponsored you with $10 for [GitHub - friebetill/obsidian-file-diff: View the difference between two files within Obsidian.](https://github.com/friebetill/obsidian-file-diff) . I use Obsidian in combination with syncthing and THIS is what I needed.
