Title: URL Field
Published: February 21, 2025

---

# URL Field

## In this article

 * [Key Features](https://developer.wordpress.org/secure-custom-fields/features/field/url/?output_format=md#key-features)
 * [Settings](https://developer.wordpress.org/secure-custom-fields/features/field/url/?output_format=md#settings)

[ Back to top](https://developer.wordpress.org/secure-custom-fields/features/field/url/?output_format=md#wp--skip-link--target)

The URL field provides input for web addresses with validation and formatting options.
It ensures proper URL format and structure.

## 󠀁[Key Features](https://developer.wordpress.org/secure-custom-fields/features/field/url/?output_format=md#key-features)󠁿

 * URL validation
 * Protocol handling
 * Placeholder text
 * Custom formatting
 * Link preview

## 󠀁[Settings](https://developer.wordpress.org/secure-custom-fields/features/field/url/?output_format=md#settings)󠁿

 * Default Value – Preset URL
 * Placeholder – Helper text
 * Protocol – Required/optional
 * Return Format – URL structure

First published

February 21, 2025

February 21, 2025

Edit article

[ Improve it on GitHub: URL Field ](https://github.com/wordpress/secure-custom-fields/edit/trunk/docs/features/field/url/index.md)

Changelog

[ See list of changes: URL Field ](https://github.com/wordpress/secure-custom-fields/commits/trunk/docs/features/field/url/index.md)

[  Previous: Using the True/False Field](https://developer.wordpress.org/secure-custom-fields/features/field/true-false/true-false-tutorial/)

[  Next: Using the URL Field](https://developer.wordpress.org/secure-custom-fields/features/field/url/url-tutorial/)