Add "URL encode" and "URL decode" Action
We meet situations quite often when need to create customized URL which is saved and used later for redirecting within or outside SP. For this purpose we need to encode input text to valid URL and save it.
Opposite situation is for reading existing URL (decode) and parsing several elements for additional usage.
While URL encode / decode is quite simple for programmer (few lines of code) but very difficult (or impossible) to perform with current tools such as "Build String" for WF designer.
Multiple embedded "fn-Replace" functions are not a good solution because there can be many of them and WF designer can forget some and the result is not good. Maintenance of such a UDA is also very difficult.
Both functions are quite easy to perform in Visual Studio. Included link shows how it should work.
David Paine commented
For the URL encode and decode, you can also check that tool as the best alternative.
you can even upload the file as well.
That tool also 100+ online, web development utilities for the users.
Bill Rishsew commented
URL Encode/Decode and HTML Encode/Decode :)
You could give this a go as well: http://aaronlabiosa.com/url-encode-decode-rest-endpoint/