<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[JSON String Escape / Unescape]]></title><description><![CDATA[<p dir="auto">Hi, I sometimes use <a href="https://www.freeformatter.com/json-escape.html" rel="nofollow ugc">this website</a> to escape/unescape a string containing a json.<br />
It is really useful for development purposes.</p>
<p dir="auto">Do you know if there is a plugin that does the same thing?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20421/json-string-escape-unescape</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 17:28:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20421.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Dec 2020 08:52:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to JSON String Escape / Unescape on Sun, 19 Oct 2025 11:05:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ilia-nenashev" aria-label="Profile: Ilia-Nenashev">@<bdi>Ilia-Nenashev</bdi></a> said in <a href="/post/91483">JSON String Escape / Unescape</a>:</p>
<blockquote>
<p dir="auto">Such possibility I have found only in <a href="https://github.com/RolandTaverner/npp-json-escape-unescape-plugin" rel="nofollow ugc">https://github.com/RolandTaverner/npp-json-escape-unescape-plugin</a>  but there is some risk of installing compiled plugin from outside of community.</p>
</blockquote>
<p dir="auto">Well, I’m (the author of the npp-json-escape-unescape-plugin) not that far outside the community. Also, I’ve finally fixed the plugin solution so anyone can build it from source (see the instructions in the README).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/103571</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/103571</guid><dc:creator><![CDATA[Roland Taverner]]></dc:creator><pubDate>Sun, 19 Oct 2025 11:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Tue, 09 Sep 2025 21:47:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/artem-repko" aria-label="Profile: Artem-Repko">@<bdi>Artem-Repko</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> correctly pointed to the <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/docs/README.md#escaping-text-as-a-json-string" rel="nofollow ugc"><code>D&amp;ump selected text as JSON string(s)</code></a> and <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/docs/README.md#unescaping-a-json-string-to-raw-text" rel="nofollow ugc"><code>Dump JSON string(s) as ra&amp;w text</code></a> commands in JsonTools. I just wanted to add this comment because I just added new documentation for both of those commands.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/103163</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/103163</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Tue, 09 Sep 2025 21:47:18 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Tue, 09 Sep 2025 15:40:45 GMT]]></title><description><![CDATA[<p dir="auto">@Артем-Репко said in <a href="/post/103160">JSON String Escape / Unescape</a>:</p>
<blockquote>
<p dir="auto">I have the latest version (8.1)</p>
</blockquote>
<p dir="auto">per the ChangeLog, <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/CHANGELOG.md#810---2024-08-23" rel="nofollow ugc">v8.1</a> was released in Aug 2024; the most-recent release of that plugin was <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/CHANGELOG.md#840---2025-05-04" rel="nofollow ugc">v8.4.0</a> released in May 2025.</p>
<p dir="auto">But the feature you are looking for has existed since <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/CHANGELOG.md#610---2023-12-28" rel="nofollow ugc">v6.1</a> in December 2023 or earlier, per the Dec 2023 message (above) from the author of the plugin.</p>
<blockquote>
<p dir="auto">Could you please provide the name of the action of this plugin to (un)escape text/JSON.</p>
</blockquote>
<ul>
<li>escape text = <strong>Plugins &gt; JsonTools &gt; Dump selected text as JSON string(s)</strong>: convert the highlighted text into a JSON string, including adding any necessary escapes.
<ul>
<li>For example, start with<pre><code>This string has "quotes and 'apostrophes' and \backslashes"
</code></pre>
</li>
<li>Select that whole line, and use the command, which will result in a fully-formed JSON string, complete with wrapping quotes:<pre><code>"This string has \"quotes and 'apostrophes' and \\backslashes\""
</code></pre>
</li>
</ul>
</li>
<li>unescape text = <strong>Plugins &gt; JsonTools &gt; Dump JSON string(s) as raw text</strong>: interpret the highlighted text as one or more JSON strings, and convert it back to raw text:
<ul>
<li>Select the second line from above, run the command, to get back the original<pre><code>This string has "quotes and 'apostrophes' and \backslashes"
</code></pre>
</li>
</ul>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/103161</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/103161</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 09 Sep 2025 15:40:45 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Tue, 09 Sep 2025 15:15:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a> said in <a href="/post/91503">JSON String Escape / Unescape</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ilia-nenashev" aria-label="Profile: Ilia-Nenashev">@<bdi>Ilia-Nenashev</bdi></a><br />
You’re using an old version of JsonTools that doesn’t have it.<br />
Try installing the <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/releases/tag/v6.1.1" rel="nofollow ugc">latest release</a>.</p>
<p dir="auto">I’d also like to note that JsonTools has a <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/CHANGELOG.md" rel="nofollow ugc">very detailed and regularly updated Changelog</a>, so in general you should always be able to see when a certain feature was added.</p>
</blockquote>
<p dir="auto">Could you please provide the name of the action of this plugin to (un)escape text/JSON. I have the latest version (8.1) and can’t find.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/103160</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/103160</guid><dc:creator><![CDATA[Artem Repko]]></dc:creator><pubDate>Tue, 09 Sep 2025 15:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Fri, 29 Dec 2023 22:34:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ilia-nenashev" aria-label="Profile: Ilia-Nenashev">@<bdi>Ilia-Nenashev</bdi></a><br />
You’re using an old version of JsonTools that doesn’t have it.<br />
Try installing the <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/releases/tag/v6.1.1" rel="nofollow ugc">latest release</a>.</p>
<p dir="auto">I’d also like to note that JsonTools has a <a href="https://github.com/molsonkiko/JsonToolsNppPlugin/blob/main/CHANGELOG.md" rel="nofollow ugc">very detailed and regularly updated Changelog</a>, so in general you should always be able to see when a certain feature was added.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91503</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91503</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Fri, 29 Dec 2023 22:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Fri, 29 Dec 2023 08:40:08 GMT]]></title><description><![CDATA[<p dir="auto">I do not see any related command there :-(</p>
<p dir="auto"><img src="/assets/uploads/files/1703838907239-cd9221ba-6665-4be8-bd94-46e28027f402-image.png" alt="cd9221ba-6665-4be8-bd94-46e28027f402-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Such possibility I have found only in <a href="https://github.com/RolandTaverner/npp-json-escape-unescape-plugin" rel="nofollow ugc">https://github.com/RolandTaverner/npp-json-escape-unescape-plugin</a> but there is some risk of installing compiled plugin from outside of community.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91483</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91483</guid><dc:creator><![CDATA[Ilia Nenashev]]></dc:creator><pubDate>Fri, 29 Dec 2023 08:40:08 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Thu, 28 Dec 2023 16:38:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ilia-nenashev" aria-label="Profile: Ilia-Nenashev">@<bdi>Ilia-Nenashev</bdi></a> said in <a href="/post/91472">JSON String Escape / Unescape</a>:</p>
<blockquote>
<p dir="auto">I think if anyone will found this topic like me will be appreciated to ability to find here a right solution.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a>’s JSONTools plugin (which was first developed in 2022, so a couple years after this discussion) has the ability to easily escape/unescape JSON strings, and many other useful tools for JSON manipulation.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91475</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91475</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 28 Dec 2023 16:38:51 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Thu, 28 Dec 2023 14:30:15 GMT]]></title><description><![CDATA[<p dir="auto">It is very nice example of using jN plugin to extend Notepad++ features, but Your example decode/encode URL instead of JSON’s strings.</p>
<p dir="auto">Sorry for reply at old post, but now I have similar task as had topicstarter and I think if anyone will found this topic like me will be appreciated to ability to find here a right solution.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/91472</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/91472</guid><dc:creator><![CDATA[Ilia Nenashev]]></dc:creator><pubDate>Thu, 28 Dec 2023 14:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Fri, 04 Dec 2020 03:53:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<a class="plugin-mentions-user plugin-mentions-a" href="/user/gioacchino-piazzolla" aria-label="Profile: Gioacchino-Piazzolla">@<bdi>Gioacchino-Piazzolla</bdi></a><br />
Please follow these steps, To JSON String Escape / Unescape<br />
<strong>Step 1:</strong> Download the jN plugin.<br />
<strong>Step 2:</strong> Place files from Zip to Plugin folder of Notepad++ in C:\Programs Files\Notepad++\plugins.<br />
<strong>Step 3:</strong> Save Code below as URLENDECODE.js and save it to C:\Program Files\Notepad++\plugins\jN\includes.<br />
<strong>Step 4:</strong> Restart Notepad++.<br />
Code:</p>
<pre><code>var URLDecoderEncoder = Editor.addMenu('URL-Encoding/Decoding');
URLDecoderEncoder.addItem({
    text: 'Encode',
    cmd: function() {
        var unencoded = Editor.currentView.text;
        var encoded = encodeURIComponent(unencoded);
        Editor.currentView.text = encoded;
    }
});
URLDecoderEncoder.addItem({
    text: 'Decode',
    cmd: function() {
        var encoded = Editor.currentView.text;
        var unencoded = decodeURIComponent(encoded);
        Editor.currentView.text = unencoded;
    }
});
URLDecoderEncoder.addItem({
    text: 'Decode multi-pass (7x)',
    cmd: function() {
        var encoded = Editor.currentView.text;
        var unencoded_pass1 = decodeURIComponent(encoded);
        var unencoded_pass2 = decodeURIComponent(unencoded_pass1);
        var unencoded_pass3 = decodeURIComponent(unencoded_pass2);
        var unencoded_pass4 = decodeURIComponent(unencoded_pass3);
        var unencoded_pass5 = decodeURIComponent(unencoded_pass4);
        var unencoded_pass6 = decodeURIComponent(unencoded_pass5);
        var unencoded = decodeURIComponent(unencoded_pass6);
        Editor.currentView.text = unencoded;
    }
});
</code></pre>
<p dir="auto">I hope this information will be useful to you.<br />
Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60443</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60443</guid><dc:creator><![CDATA[prahladmifour]]></dc:creator><pubDate>Fri, 04 Dec 2020 03:53:57 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Thu, 03 Dec 2020 15:56:06 GMT]]></title><description><![CDATA[<p dir="auto">Actually, the <em>thread</em> isn’t the duplicate thing.  It’s just that you posted this same <em>posting</em> in another existing thread.<br />
Be assured that others will read that earlier posting and respond to it, as indeed we have (check the other thread).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60438</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60438</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 03 Dec 2020 15:56:06 GMT</pubDate></item><item><title><![CDATA[Reply to JSON String Escape / Unescape on Thu, 03 Dec 2020 12:46:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gioacchino-piazzolla" aria-label="Profile: Gioacchino-Piazzolla">@<bdi>Gioacchino-Piazzolla</bdi></a></p>
<p dir="auto">Please don’t open a <a href="https://community.notepad-plus-plus.org/post/60425">DUPLICATE</a> thread.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60437</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60437</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 03 Dec 2020 12:46:21 GMT</pubDate></item></channel></rss>