Skip to content
| Marketplace
Sign in
Visual Studio>Tools>DecodeText
DecodeText

DecodeText

Cim Ryan - MSFT

|
615 installs
| (2) | Free
Decode HTML- and URL-encoded text, and C# escape sequences. Click a menu item to replace the selected text with HTML- or URL-decoded text, or text in which the C# escape sequences have been decoded.
Download

Decodes HTML- or URL-encoded text or C# escape sequences.

After you install the extension two new menu items will appear in the Tools menu of Visual Studio.

  • Decode clipboard text
  • Decode selected text

These menu items will each have a sub-menu with three items:

  • Decode C# escape sequences
  • Decode HTML-encoded text
  • Decode URL-encoded text

Activating the "selected text" items wil replace whatever text is currently selected in your active document with the "decoded" version of that text.

Acitvating the "clipboard text" items will replace the text on the clipboard with the "decoded" version of that text.

The decodings performed by the "Decode HTML-encoded text" and "Decode URL-encoded text" functions use System.Net.WebUtility.HtmlDecode and System.Net.WebUtility.URLDecode, respecitvely so you can read the details of what translation is actually performed on those pages.

The decoding performed by the "Decode C# escape sequences" function is bespoke so you'll have to view the source on GitHub if you're curious.

As an example of operation, the "Decode Html-encoded text" function will replace the text &lt;myElement&gt; with <myElement>.

Source code: https://github.com/cimryan/VSTextDecodingExtension

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft