What is Ballerina?
Swan Lake



import ballerina/url;

Package Overview

The url library is one of the standard library modules of the Ballerina language.

URL encoding stands for encoding certain characters in a URL by replacing them with one or more character triplets that consist of the percent character % followed by two hexadecimal digits. The two hexadecimal digits of the triplet(s) represent the numeric value of the replaced character.

The Ballerina url module facilitates APIs to encode and decode a URL or part of a URL.

Report Issues

To report bugs, request new features, start new discussions, view project boards, etc., go to the Ballerina standard library parent repository.

Useful Links

Exported Modules


Created Date: 06 July,2021

Ballerina Compatibility

Platform: java11

Other Versions