Does this encode a full URL?
It uses URL component encoding, which is best for query values and path fragments rather than complete URLs.
Convert query values, path fragments, and copied strings into percent-encoded URL components for API testing and documentation.
It uses URL component encoding, which is best for query values and path fragments rather than complete URLs.
Use it before placing spaces, symbols, or user-provided text inside a URL query parameter or path segment.