Show HN: Chrome Extension to Preview Escaped Strings

Hi HN! I got tired of squinting at escaped strings when debugging LLM API calls, so I built a Chrome extension that instantly renders them.

When working with OpenAI/Claude/etc APIs, the request/response logs are full of escaped strings like "You asked:\n\n\"What is recursion?\"\n\nRecursion is when...". This extension lets you select any text containing these escape sequences and instantly see what it actually looks like.

How it works: Select any escaped string on a webpage → See the rendered output in a floating panel. Works great on API logs.

No more copy-pasting into console or online decoders. Everything runs locally in your browser.

GitHub: https://github.com/aeft/escaped-string-viewer

Built this to scratch my own itch - would love to know if others find it useful!

1 points rand_num_gen 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton