Dev Tools icon

Dev Tools

A suite of utility tools for developers: Generators, converters, and transformers.

QR Generator

AI-generated

Summary

Generate a QR code encoding either plain text/URL or WiFi configuration details, returning the QR code as either a Base64 data URI string or a binary PNG file.

Inputs

  • QR Type (required) — Select the type of QR code to generate: 'Text/URL' encodes provided text input; 'WiFi Config' encodes WiFi network credentials.
  • Text (required) — The text or URL to encode into the QR code; used only when 'QR Type' is 'Text/URL'.
  • SSID (required) — The WiFi network SSID to encode; used only when 'QR Type' is 'WiFi Config'.
  • Password (required) — The WiFi network password to encode; used only when 'QR Type' is 'WiFi Config'.
  • Encryption (required) — The WiFi security type (WPA, WEP, or No Pass) for the WiFi QR code; used only when 'QR Type' is 'WiFi Config'.
  • Output Type (required) — Choose the format of the generated QR code output: 'Data URI (Base64 String)' returns a Base64-encoded string representing the QR code image; 'Binary File' returns the QR code as a binary PNG file.
  • Binary Property Name — Name of the binary property to store the QR code PNG file under when 'Output Type' is 'Binary File' (default is 'data').

Output shape

a single record per input item

If 'Output Type' is 'Data URI', the output contains a property 'qrDataUri' with the Base64 string representing the QR code PNG image. If 'Output Type' is 'Binary File', the output record includes a JSON field indicating success and a binary field containing the QR code PNG image under the configured binary property name.

Links

Discussion