A quick orientation: this page explains how the page alternate creator builds page-level alternate entries for hreflang implementation, guides you through the creation workflow, lists the entry-level errors that invalidate most hreflang setups, and describes how this tool differs from site-wide generators and tag builders.
What is a page alternate creator?
A page alternate creator builds the complete set of alternate page
entries for a single page — every localized version of that page,
including the self-reference and x-default, structured as a page-level
alternate record. This record can then be transformed into any hreflang
implementation format: HTML <link> tags, HTTP headers, or XML sitemap
annotations.
The distinction matters: this tool focuses on the logical relationship layer — "page A in English corresponds to page B in Spanish and page C in German" — rather than the output format. Tag builders produce HTML markup. Sitemap tools produce XML. This creator produces the underlying data structure that both consume. It is the authoritative definition of which pages are alternates of each other.
This approach is particularly valuable for CMS-driven sites where hreflang data needs to flow into multiple output channels simultaneously. You define the alternate relationships once in the creator, then export to whatever format each channel requires. The tool validates relationship integrity — reciprocity, self-reference, locale uniqueness — at the data layer, before format-specific generation adds another layer of potential errors.
All processing runs in the browser. Your page URLs and locale assignments never leave your machine.
How to use this page alternate creator
Follow these steps to build a complete alternate entry for a page:
-
Start with the current page. Enter the absolute HTTPS URL of the page you are creating alternates for, along with its locale code. This becomes the self-reference entry and the anchor of the alternate set.
-
Add each alternate version. For every localized version of this page, add an entry with the locale code and absolute HTTPS URL. Use ISO 639-1 language codes, optionally combined with ISO 3166-1 region codes (e.g.,
en-US,pt-BR). The autocomplete validates codes as you type. -
Add the x-default entry. Specify which URL should serve as the x-default fallback. The creator supports three strategies: point x-default to the primary language version, point it to a language-selector page, or auto-assign it to the entry with the broadest audience reach.
-
Review the validation panel. The creator checks your entries in real time against hreflang specification requirements:
- Every URL must be absolute and use HTTPS.
- Every locale code must follow BCP 47 format.
- No duplicate locale codes are allowed within the set.
- The self-reference entry must be present.
- All URLs should have consistent trailing-slash usage.
-
Export the alternate record. The output is available in multiple formats: JSON (for programmatic use), CSV (for spreadsheet review), and as pre-formatted input for the hreflang tag generator. Each export includes all entries including self-reference and x-default.
Common errors and how to fix them
These are the five entry-level mistakes that invalidate most page alternate configurations.
-
Non-reciprocal entries. If page A declares page B as its Spanish alternate, page B must also declare page A as its English alternate. Non-reciprocal relationships are silently ignored by search engines. The creator tracks reciprocity requirements and warns when a counterpart page would need to include a matching entry.
-
Duplicate locale codes. Adding two entries with locale
es— for example, one pointing toexample.com/es/pageand another toexample.com/latam/page— creates an ambiguous signal. Each locale code must appear exactly once in the alternate set. The creator rejects duplicates at input time. -
Missing self-reference. The alternate set must include an entry for the page itself. This is required by the hreflang specification and is the second most common implementation error. The creator adds the self-reference automatically based on your initial page entry.
-
Protocol mismatches. Mixing
http://andhttps://URLs within the same alternate set creates conflicting signals. The creator enforces HTTPS-only URLs and rejects any HTTP input. -
Locale code format errors. Using
en_US(underscore) instead ofen-US(hyphen), or using invalid codes likeen-UKinstead ofen-GB, causes entries to be ignored by search engines. The creator validates every code against BCP 47 and ISO standards in real time.
How this tool is different
Four things set this page alternate creator apart from tag builders and site-wide generators:
- Format-agnostic output. The creator produces alternate relationship data, not a specific markup format. You can export to HTML tags, HTTP headers, XML sitemap format, or JSON — all from the same source data.
- Relationship-first validation. Checks happen at the logical relationship level (reciprocity, self-reference, locale uniqueness) before any format-specific validation. This catches problems that format-level tools miss.
- Multi-channel export. If your site uses HTML
<link>tags on some pages and XML sitemaps for others, this tool produces consistent data for both channels from a single entry set. - Automatic self-reference. The self-reference entry is created from your initial page input, eliminating the most commonly forgotten step in manual hreflang configuration.
Everything runs in your browser with no data transmitted externally. For a full explanation of hreflang relationships and alternate entry requirements, see the what is hreflang guide.