QR Code Generator
QR Code Settings
Higher levels (Q, H) can scan even if damaged, but result in a denser QR code.
Download QR Code
SVG is vector-based and scales without quality loss.
Generate and customize QR codes for URLs, text, Wi-Fi details, and more.
Use as API
Generate QR codes programmatically via our REST API. Perfect for automating QR code generation in your applications!
API Endpoint
POST https://toolteeno.com/api/qr-codeRequest Body
{
"text": "https://toolteeno.com",
"size": 512,
"bgColor": "#ffffff",
"fgColor": "#4f46e5",
"level": "M"
}• text: Content to encode (required, max 2000 chars)
• size: Image size in pixels (optional, 128-1024, default: 256)
• bgColor: Background hex color (optional, default: #ffffff)
• fgColor: QR code hex color (optional, default: #000000)
• level: Error correction L/M/Q/H (optional, default: M)
Example Response
{
"success": true,
"config": {
"text": "https://toolteeno.com",
"size": 512,
"bgColor": "#ffffff",
"fgColor": "#4f46e5",
"level": "M"
},
"apiImageUrl": "https://api.qrserver.com/v1/..."
}cURL Example
curl -X POST https://toolteeno.com/api/qr-code \
-H "Content-Type: application/json" \
-d '{
"text": "https://toolteeno.com",
"size": 512,
"fgColor": "#4f46e5"
}'JavaScript Example
fetch('https://toolteeno.com/api/qr-code', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
text: 'https://toolteeno.com',
size: 512,
fgColor: '#4f46e5'
})
})
.then(res => res.json())
.then(data => {
console.log('QR Code URL:', data.apiImageUrl);
});Python Example
import requests
response = requests.post(
'https://toolteeno.com/api/qr-code',
json={
'text': 'https://toolteeno.com',
'size': 512,
'fgColor': '#4f46e5'
}
)
result = response.json()
print(result['apiImageUrl'])💡 Error Correction Levels:
• L - Low (~7% correction)
• M - Medium (~15% correction) - Recommended
• Q - Quartile (~25% correction)
• H - High (~30% correction) - Best for damaged codes
🎯 Free & No Rate Limits: This API is completely free to use with no authentication required. Use the returned apiImageUrl to get the actual QR code image!