Escape and unescape strings for JSON, HTML, URLs, and Unicode sequences. Useful for APIs, code snippets, logs, and copied text.