For developers
Free cipher and code API
A tiny, free, static JSON API with the letter maps behind every translator on CipherPad. No API key, no rate limit, no sign up. Fetch a file and build whatever you like.
These are plain static JSON files served over HTTPS with permissive CORS. Cache them, mirror them, ship them in your app. A link back to CipherPad is appreciated but not required.
Endpoints
Index of all endpoints and metadata.
Morse code map for letters and digits.
Grade 1 braille Unicode characters, A to Z.
NATO phonetic alphabet code words.
8-bit ASCII binary for A to Z.
Letter to alphabet-position number.
Common leetspeak substitutions.
Example
// Fetch the Morse code map (no key needed)
const res = await fetch("https://cipherpad.dev/api/morse.json");
const { map } = await res.json();
console.log(map.s + map.o + map.s);
// "... --- ..."Response shape
Every map endpoint returns the same simple structure.
{
"cipher": "morse",
"description": "International Morse code map for letters and digits.",
"map": { "a": ".-", "b": "-...", "c": "-.-." /* ... */ }
}Frequently asked questions
Is the API really free?
Yes. The files are static, so there is no cost to serve them and no reason to charge. Use them in personal or commercial projects.
Is there a rate limit?
No enforced limit. They are cacheable static files. If you need heavy traffic, mirror the JSON on your own host and you are set.
Can I use this in my app or game?
Absolutely. That is what it is for. A credit link back to CipherPad is welcome but never required.
Prefer a drop-in translator instead of raw data? Use the embeddable widget.