RadarPricesOrder

Home › APIs › Text & developer tools

Text & developer tools

URL Encode / Decode API

In plain words

Makes text safe to put in a web link, or turns such a link back into normal text.

Used by: Developers, marketers, IT admins and content writers.

Percent-encode or decode text and URLs (whole link or single value, + as space). Runs on our server, files are deleted right after the call, nothing stored.

Try it live, no sign-up

Run the example as is, or change the input. 5 own tries a day without a key.

Example request

curl -X POST https://radarbg.com/v1/url-encode-decode \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"text": "https://example.com/a b?x=ü", "mode": "encode", "wholeLink": true}'

Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.

Inputs

FieldTypeDescription
textstringThe text
modestringencode or decode
wholeLinkbooleanKeep : / ? & = as they are (mode=encode)
plusIsSpacebooleanTreat + as space (mode=decode)

Price

Included in every plan: 500 calls a month free, then from €9 a month for 5,000 calls across all APIs. Pro, €29 for 25,000 calls, is the one we recommend.

Questions

What does the URL Encode / Decode API do?

Makes text safe to put in a web link, or turns such a link back into normal text.

Where does the data come from?

Percent-encode or decode text and URLs (whole link or single value, + as space). Runs on our server, files are deleted right after the call, nothing stored.

How much does it cost?

500 calls a month are free with no card. Paid plans start at EUR 9 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.

Can I use it without writing code?

Yes. Try it live on this page, use our free browser tools, or ask us to run it on your list as a service.

Related APIs

Base64 Encode / Decode APITurns text or a file into Base64 code and back.
Case Converter APIChanges text to UPPER, lower, Title or Sentence case in one click.
Hash Generator APIMakes an MD5 or SHA code of text or a file, so you can check a download is not changed.
JSON Formatter and Validator APIMakes JSON data tidy and readable, and shows exactly where it is broken.
JWT Decoder APIShows what is inside a login token (JWT) and when it expires.
Lorem Ipsum Generator APIMakes filler text for designs and mock-ups.