Random Spain Address Generator — Free Online Tool

Generate realistic Spanish addresses with 5-digit postal code and province. Free fake Spain address generator for software testing forms and privacy protection.

Identity Profile
Avatar
Address Fields
Map Preview
Generate an address to preview
Bulk Addresses
Export Format
JSON
Generate an address first.
API Reference
// Base Endpoint (WordPress REST API)
GET /wp-json/address-gen/v1/generate
// Parameters
ParamTypeDefaultDescription
countrystringusISO 3166-1 alpha-2 country code
countinteger1Number of addresses (max 50)
formatstringjsonjson · csv · xml · yaml · vcard
include_identitybooltrueInclude name, email, DOB, phone
include_companyboolfalseInclude company name
// Example Request
curl -X GET "https://yoursite.com/wp-json/address-gen/v1/generate?country=de&count=3&format=json" \ -H "X-WP-Nonce: your_nonce_here"
// WordPress Shortcode Usage
[address_generator country="us" theme="dark" show_map="true" show_export="true"] [address_generator country="ae" count="5" format="bulk"] [address_generator country="jp" mode="api_demo"]
// JavaScript Fetch Example
const res = await fetch('/wp-json/address-gen/v1/generate?country=uk&count=1'); const data = await res.json(); console.log(data.addresses[0].street); // "14 High Street"
Copied!

⚠️For Testing & Educational use only. All generated Spain addresses are entirely fictional. Do not use for fraud, deception, or bypassing legal verification.

ABOUT THIS TOOL

What is the Random Spain Address Generator?

The Random Spain Address Generator creates realistic but entirely fictional Spain street addresses instantly. Every generated address follows the correct Spain format, including the 5 digits (e.g. 28001) postal code structure, authentic city names, and proper phone number format (+34), but corresponds to no real, deliverable location.

Spanish addresses often place the street type before the name — Calle (street) Avenida (avenue) Plaza (square) Paseo (boulevard). The number follows the street name.

ADDRESS FORMAT

[Street Type] [Street Name] [Number], [Postal Code] [City]

Example: Madrid, 28001
Phone prefix: +34

Did you know? Spanish addresses often place the street type before the name — Calle (street) Avenida (avenue) Plaza (square) Paseo (boulevard). The number follows the street name.

FORMAT GUIDE

Spain Address Format Explained

Understanding the Spain address format is essential for developers building international address validation, e-commerce checkout systems, or data entry forms. Here’s what makes Spain addresses unique:

FieldFormatExample
Postal / ZIP Code5 digits (e.g. 28001)28001
Phone Prefix+34+34 XXX XXX XXXX
Address Structure[Street Type] [Street Name] [Number], [Postal Code] [City]
Example CityMadrid
Key Fact: Spanish addresses often place the street type before the name — Calle (street) Avenida (avenue) Plaza (square) Paseo (boulevard). The number follows the street name.

COMMON QUESTIONS

Frequently Asked Questions

Spanish addresses use street type prefixes — Calle Gran Vía 32 or Avenida de la Constitución 15. The postal code precedes the city name.

Major cities covered include Madrid Barcelona Valencia Seville Zaragoza Málaga Murcia Palma Bilbao and Alicante.

Yes, completely free with no account or signup required. Generate unlimited single Spain addresses or up to 50 at once in bulk mode. Export in JSON, CSV, XML, YAML, vCard, or SQL format at no cost, with no daily limits.

No. All generated addresses are entirely fictional. They follow the correct Spain address format including 5 digits (e.g. 28001) postal code structure and authentic city names, but do not correspond to real, deliverable locations. They are for testing, development, and educational use only.

Yes. Switch to Bulk Generate mode and generate up to 50 Spain addresses at once. Download them as a CSV file, JSON, XML, YAML, vCard (.vcf), or SQL INSERT statements, all free, no signup needed.

Using a generated Spain address for software testing, form validation, database seeding, and UI design is completely legal. Using a fake address to commit fraud, bypass legal identity verification, or deceive a business is illegal. Always use this tool responsibly.

IMPORTANT NOTICE

Acceptable Use

The Random Spain Address Generator is designed for legitimate purposes only: software development, quality assurance testing, UI/UX prototyping, academic research, data science training sets, and privacy protection from non-essential data collection.

📋 Spain Quick Reference

COUNTRY

Spain

COUNTRY CODE

es

POSTCODE

5 digits (e.g. 28001)

EXAMPLE

28001

PHONE

+34

CITY EG.

⬇️ Export Formats

Download Spain addresses in any format:

🔗 Related Generators

🌍 Random France Address Generator
Free address generator

🌍 Random Italy Address Generator
Free address generator

🎭Fake Address Generator
Free address generator

🌐All Countries
59 countries supported

⚠️ Testing use only. All generated Spain addresses are fictional. Do not use for fraud or identity deception.

Scroll to Top