URL Encoding And Decoding With Arena

Arena is a powerful tool that can be used to transform data from one format into another. In this tutorial you will learn how to do url encoding and decoding using the editor and console view.

Step 1

First open Arena. Type the original data into the editor on the right-hand side.

Screenshot 01

Step 2

Now we need to transform the data in the editor into a URL encoded string. To do this, simply type editor = encodeURIComponent(editor). This is a JavaScript expression that will be evaluated. Essentially, this expression instructs Arena to update the editor with the encoded version of the current value.

Screenshot 02

Step 3

To revert the data back to its original state simply type editor = decodeURIComponent(editor).

Screenshot 03