Public
Like
UnescapeJson
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v3View latest version
A simple web tool that helps visualize escape sequences in text.
- Side-by-side interface with input and output panels
- Real-time conversion of escape sequences to their actual characters
- Handles common escape sequences like
\n,\t,\r, etc. - Responsive design that works on mobile and desktop
- Enter text with escape sequences in the left panel
- See the unescaped result in the right panel in real-time
- Copy the visualized output as needed
The tool uses JavaScript's JSON.parse() with a string wrapper to handle the conversion of escape sequences to their actual characters. This approach handles all standard JSON escape sequences.
Input: Hello\nWorld
Output:
Hello
World
Input: Tab:\tIndented
Output: Tab: Indented