Convert between Roman, Unicode Devanagari, and Preeti font — instantly in your browser.
Use the converter programmatically. No authentication required. Rate limit: 120 requests / minute per IP.
| Parameter | Type | Values |
|---|---|---|
action | string (required) |
roman_to_unicode ·
preeti_to_unicode ·
unicode_to_roman
|
text | string | Text to convert (max 50,000 chars) |
Request body (JSON)
{ "action": "roman_to_unicode", "text": "namaste nepal" }
Response
{ "success": true, "result": "नमस्ते नेपाल" }
JavaScript example
const res = await fetch('https://pradipsubedi1.com.np/api/convert.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ action: 'roman_to_unicode', text: 'namaste' })
});
const data = await res.json();
console.log(data.result); // नमस्ते