About i18n JSON Escaper
This tool escapes special characters in i18n JSON content to avoid template parsing conflicts in frameworks like Vue i18n.
Key Features
- One-click Escape: Escapes conflict-prone characters such as
{,},@,|, and$. - One-click Unescape: Restores escaped text back to original form.
- JSON-friendly Processing: Keeps JSON structure as intact as possible.
- Bilingual Workflow Support: Works well with common locale file editing flow.
Steps
- Paste your i18n JSON into the input area.
- Click escape to generate safe output.
- Use unescape when you need to revert.
- Copy the result into your locale file.
Tips
- Back up source JSON before bulk conversion.
- Re-check rendered pages after conversion.
- If you use placeholders like
{name}, validate against your i18n parser rules.
FAQ
Why escape @ or |?
Some i18n parsers treat these symbols as syntax markers, which may cause unexpected parsing.
Are JSON keys changed?
No. The tool mainly processes special characters in string values.