{{ }}
PROMPT TEMPLATE & JSON ESCAPE

Prompt Template & JSON Escape

Replace Prompt variables or turn arbitrary text into a safe JSON string.

Local processing
Workspace
0 characters
Read only
Ready. Enter your content, then choose an action.
◇ Content is processed in this browser onlyInput is not saved automatically
HOW TO USE

How to use

Template mode accepts template and variables with {{name}} or {{object.key}}. JSON-string mode escapes input.

Example

{"template":"Hello {{name}}","variables":{"name":"Ada"}} → Hello Ada

GOOD TO KNOW

Keep in mind

Up to 100,000 characters. No expressions, JavaScript or requests run. Missing variables are errors.

Common questions

Conditions or loops? No; replacement stays predictable.