API & MCP

Everything a person can do on Emoji Cipher Playground, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Emoji Cipher Playground

Encode or decode text with three emoji ciphers: a keyed substitution (your key shuffles the emoji alphabet), a Caesar shift over an emoji alphabet, or base-emoji, which turns every UTF-8 byte into one of 256 emoji so any text survives. Round trips are exact — and the tool shows why none of this is real encryption.

Inputs of Emoji Cipher Playground
FieldTypeDefaultDescription
actionselect (encode, decode)"encode"Action
schemeselect (substitution, caesar, base-emoji)"substitution"Cipher
text (required)textarea—Text
keytext—Key. Substitution: shuffles the emoji alphabet (empty = the default key “emoji”). Base-emoji: optional shuffle of the byte table (empty = standard table). Not used by Caesar.
shiftinteger3Caesar shift. Letters move by this many places (mod 26), digits too (mod 10).

Example request

Secret note with a keyed substitution

curl -X POST https://emojicipherplayground.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"action":"encode","scheme":"substitution","text":"Meet me at 7 by the old oak tree!","key":"picnic"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "emoji-cipher-playground": { "type": "http", "url": "https://emojicipherplayground.usefulweb.site/mcp" }
  }
}