Convert text to barcode API

This web service is a fast and secure platform for converting all types of texts, links, and text data (up to 5,000 characters) to 2D barcode (QR Code).

The processed data is returned directly in the optimized Base64Code format without the need for intermediate storage, enabling instant rendering in image tags, digital invoices, and applications.

The ability to customize image formats such as PNG, JPG, and WEBP along with precise control over the quality and size of the output file is also available to developers.

100IRT
July 14, 2026
Sample input:
{
  "text": "https://apidevelopers.ir/services",
  "apiKey": "YOUR_API_KEY",
  "format": "png",
  "quality": "50"
}
Sample output:
{
  "ok": true,
  "code": 200,
  "meta": {
    "cost": "100.00",
    "webService": "qrcode-generator"
  },
  "result": {
    "format": "png",
    "base64code": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAklEQVR4AewaftIAAABpSURBVI3BAWoDMRDAQMn4/19WvBDDEQ7aGTv4p82hMipURoXK0+JFhUrFqBh28EJlVFybQ2VUvFEZm6NC5VKpGCoVY3GoVKioVDypjM1Dxa+Ka3FUqAwVFZWhci0OlYpR8VRxLb5U/vIBK9U+Hm7QW0sAAAAASUVORK5CYII=",
    "description": "To use this QR code, first decode the Base64 string, then save it as a png image file."
  },
  "message": "SUCCESS"
}
Available Parameters
#ParameterTypeDefaultDescriptionStatus
1apiKeystring-Your API key for authenticationRequired
Your API key for authentication
2textstring-Accepts characters between 1 and 5,000 in lengthRequired
Accepts characters between 1 and 5,000 in length
3qualityint30Accepts integer between 1 and 100Optional
Accepts integer between 1 and 100
4formatstringpngAccepts one of these: png, jpg, jpeg, webpOptional
Accepts one of these: png, jpg, jpeg, webp
app-logo
Webservice

Fast, secure and stable webservice platform for developers worldwide.


Quick Links
  • Home
  • Services
  • Account
  • Blog
  • FAQs
  • Terms and Conditions
  • Support

Change Language
  • English (US)
  • Persian (Farsi)

© 2026 Webservice — Made for you with love and creativity ❤️

  • Home
  • Services
  • Login
  • Home
  • Services
  • Login
API Developers
API Developers Logo