encode uri component

This block is part of the value group and was last modified in core v10.4.28.

encode uri component v10.4.28

Encodes a URI by replacing specific characters with URI safe characters.

In pins 1
  • value required
    value
Out pins 1
  • output
    value

Mirrors JS encodeURIComponent: percent-encodes EVERYTHING except letters, digits and -_.!~*'() - including / ? & = and : - so it suits individual query values, not whole URLs. Space becomes %20, never +. Outputs an empty string when value is not wired.

A typical wiring for encode uri component: value feeds the value pin; the value out pin feeds convert to uppercase.

Studio canvas example for the encode uri component block: typical wiring for encode uri component.

Version history

Introduced in v10.4.28.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to value Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group