+64 test data

🇳🇿 New Zealand phone number generator

Generate New Zealand phone number examples for development, QA, input masks and documentation. Results are not live subscriber lines.

Generate an example

International display+64211234567
Do not call or text generated values. New Zealand mobile lengths vary by range. This example is structural and may be assigned.

New Zealand format reference

Calling code+64
National pattern021 xxx xxxx
E.164 example+64211234567
Typical lengthVariable mobile length after +64

Convert a New Zealand number to E.164

1. Clean the input

Remove spaces, parentheses and hyphens while preserving the digits and country context.

2. Apply the trunk rule

Remove the leading domestic 0 before adding +64; validate the remaining length against the selected range.

3. Store one canonical value

Use +64211234567 for machine storage and format it for display at the edge of your application.

New Zealand phone test cases

CaseFixtureExpected test behavior
National display021 xxx xxxxAccept punctuation, then normalize.
Valid E.164 structure+64211234567Accept for format testing; do not infer reachability.
Invalid length+642112345Reject before storing or sending to an API.

Manually reviewed country notes

What makes New Zealand phone input different

New Zealand mobile lengths vary by range. This page documents one 021 fixture: remove the domestic zero, add +64 and preserve the remaining digits, while avoiding a single fixed-length rule for every NZ mobile prefix.

The Number Administration Deed resources describe the numbering framework, not a general fictional mobile range. Generated values may be assigned and must not be contacted.

Check 1

Convert domestic 021 to international +64 21.

Check 2

Validate length against the selected range instead of one NZ-wide constant.

Check 3

Retain country context when parsing national input.

Reviewed New Zealand normalization cases

These cases document the fixture contract used by GetPhoneNum. They test parsing and normalization only; they never prove that a subscriber exists.

InputExpected resultReason
021 123 4567+64211234567Convert this 021 fixture
+64 21 123 4567+64211234567Normalize punctuation
0064 21 123 4567+64211234567Convert an access prefix
+64 021 123 4567Reject or repairThe trunk zero follows +64
021 123 45Review rangeNZ mobile lengths require range metadata

Reviewed by GetPhoneNum Editorial Team · Last reviewed August 11, 2026

Frontend checks

Test empty input, pasted punctuation, a missing country code, one digit too few and one digit too many. Avoid using a single global regex for every country.

Test a JavaScript regex

Production validation

Numbering plans change. Use a maintained numbering library and treat carrier, line type and reachability as separate checks.

Browse calling-code references

Related generators and tools

Continue testing international phone formats

New Zealand phone number FAQ

Are these New Zealand phone numbers real?

They are generated test fixtures, not verified subscriber lines. Even a structurally valid value may coincide with an assigned number unless it comes from an officially reserved fictional range.

What does the +64 calling code mean?

+64 is the international country calling code for New Zealand. In E.164 format it appears after the leading plus sign and before the national number.

Can generated numbers receive calls, SMS or verification codes?

No capability is provided or verified. Do not call, text or use generated values for account verification.

Official numbering reference

Numbering rules can change. Check the New Zealand Number Administration Deed resources before enforcing production rules.

Need repeatable New Zealand fixtures?

Create up to 100 local fixtures in the browser, download the open dataset, or use the API design reference to define a deterministic contract for automated test suites.