Online Escape Text
Escape text for HTML or JSON. Converts special characters (e.g. <, >, &, quotes) so the text is safe to embed in HTML or JSON strings. Client-side only.
Frequently Asked Questions
- What does HTML escape do?
- Replaces < with <, > with >, & with &, and quotes so the text can be safely inserted into HTML without being interpreted as tags.
- What does JSON escape do?
- Escapes backslashes, quotes, and control characters (newlines, tabs) so the string is valid inside a JSON value.
- Can I unescape?
- Use an unescape or decode tool to reverse HTML entities or JSON escapes back to plain text.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.