OhMyApps
Back to Tools Developer Tools

Backslash Escape/Unescape

Escape or unescape backslash sequences in text

How it works

Escape converts special characters in your text to their backslash sequence representations:

  • Newlines become \n
  • Tabs become \t
  • Carriage returns become \r
  • Backslashes become \\

Unescape does the reverse, converting escape sequences back to their actual characters.

Want to learn more?

Read the complete guide with examples and tips

Read guide

Continue with nearby tasks in the developer tools hub.

View all