---
title: Free Random Address Generator | TestingBot
description: Generate random addresses in any country. These addresses can be used
  in your tests, to automatically fill in forms with Selenium, Puppeteer or Playwright.
  These addressses contain a genuine street name, city, state and zip code.
source_url:
  html: https://testingbot.com/free-online-tools/random-address-generator
  md: https://testingbot.com/free-online-tools/random-address-generator.md
---

[Tools](https://testingbot.com/free-online-tools)Data Generators

# Address Generator

Generate realistic test addresses

Use this free tool to generate random addresses for a specific country. You can use this in your automated or manual tests, for example to fill in a form.

## Random Address Generator

Country Germany Australia Canada United States Argentina Spain Mexico France Indonesia Italy Belgium Netherlands Poland Portugal

Generated Address

## Random Address Generator API

Use our API to generate realistic random addresses for various countries. These addresses are useful for testing forms, filling mock user data, or populating QA environments with location-based content.

GET `https://api.testingbot.com/v1/free-tools/random-address`

Optional query parameter:

- `?country=fr` — generate address using country (e.g., `us`, `au`, `fr`, `pl`, etc.)

Response:

```
{
  "address": "2436 Main Street, Springfield, IL 62704, United States"
}
```

### Supported countries

- `de` — Germany
- `us` — United States
- `ca` — Canada
- `es` — Spain
- `fr` — France
- `id` — Indonesia
- `it` — Italy
- `nl` — Netherlands
- `pl` — Poland
- `pt` — Portugal

This endpoint returns a randomly generated address in a format appropriate for the selected country. It is suitable for form-filling simulations, address validation testing or automated UI flows.

## What is a Random Address Generator?

A Random Address Generator will generate fake, randomly created postal addresses. These are not real addresses, they do not exist, which means they cannot be used in production applications.

Instead, these generated addresses are used for testing mobile applications or websites, which require the input of a valid looking postal address.

## Why do I need an Address Generator?

You can use this generator to create valid looking, random postal addresses. Our address generator allows you to specify the country, after which the tool will generate a new (but fake) address.

During your manual or automated tests, you can use this to generate addresses which can be used for your tests. For example, with a form that requires a postal address.

## How does this random address generator work?

We use an utility called Faker. This program will generate fake data, that looks like it's real data.

Under the hood, Faker will generate data such as random addresses. You can use this yourself with NodeJS and Ruby as well.

## How do I generate a fake address with Faker and Ruby?

Once you've installed the Faker gem, you can simply call one function to generate an address. Please see the example below.

```ruby
Faker::Address.full_address
```

### All Tools

#### Accessibility

- [Color Contrast Checker](https://testingbot.com/free-online-tools/color-contrast-checker)

#### Calculator

- [Test Effort Estimator](https://testingbot.com/free-online-tools/test-effort-estimator)
- [Test Coverage Calculator](https://testingbot.com/free-online-tools/test-coverage-calculator)

#### Converter

- [Unix Timestamp Converter](https://testingbot.com/free-online-tools/unix-timestamp-converter)

#### Formatter

- [Puppeteer to Playwright Converter](https://testingbot.com/free-online-tools/puppeteer-to-playwright-converter)
- [JSON Prettifier](https://testingbot.com/free-online-tools/json-prettify)
- [HTML Escaper](https://testingbot.com/free-online-tools/html-escape)
- [XML Prettifier](https://testingbot.com/free-online-tools/xml-prettify)
- [Remove Whitespace](https://testingbot.com/free-online-tools/remove-all-whitespace)
- [Text to One Line](https://testingbot.com/free-online-tools/text-to-one-line)
- [PX to REM Converter](https://testingbot.com/free-online-tools/px-to-rem-converter)
- [CSS Prettifier](https://testingbot.com/free-online-tools/css-prettify)

#### Generator

- [Random Avatar Generator](https://testingbot.com/free-online-tools/free-avatar-generator)
- [Placeholder Image Generator](https://testingbot.com/free-online-tools/placeholder-image-generator)
- [Credit Card Generator](https://testingbot.com/free-online-tools/credit-card-number-generator)
- [Random Number Generator](https://testingbot.com/free-online-tools/random-number-generator)
- [JWT Parser](https://testingbot.com/free-online-tools/jwt-parser)
- [Fake Person Generator](https://testingbot.com/free-online-tools/fake-person-generator)
- [Hash Text](https://testingbot.com/free-online-tools/hash-text)
- [Lorem Ipsum Generator](https://testingbot.com/free-online-tools/lorem-ipsum-generator)
- [Random IP Generator](https://testingbot.com/free-online-tools/random-ip-generator)
- [Random GUID Generator](https://testingbot.com/free-online-tools/random-guid-generator)
- [Character Count](https://testingbot.com/free-online-tools/character-count)
- [ASCII to Binary](https://testingbot.com/free-online-tools/ascii-to-binary)
- [Random Color Generator](https://testingbot.com/free-online-tools/random-color-generator)
- [Open Graph Meta Generator](https://testingbot.com/free-online-tools/og-meta-generator)
- [QR Code Generator](https://testingbot.com/free-online-tools/qr-code-generator)
- [Device Information](https://testingbot.com/free-online-tools/device-information)
- [User Agent Parser](https://testingbot.com/free-online-tools/user-agent-parser)
- [Image Extractor](https://testingbot.com/free-online-tools/image-extractor)
- [Test Plan Generator](https://testingbot.com/free-online-tools/test-plan-generator)

#### Network

- [CORS Tester](https://testingbot.com/free-online-tools/cors-tester)
- [My GPS Location](https://testingbot.com/free-online-tools/my-gps-location)
- [What's My IP Address](https://testingbot.com/free-online-tools/whats-my-ip-address)
- [IP Subnet Calculator](https://testingbot.com/free-online-tools/ip-subnet-calculator)

#### Scheduler

- [Cron Expression Generator](https://testingbot.com/free-online-tools/cron-expression-generator)

#### Speed

- [Critical CSS Generator](https://testingbot.com/free-online-tools/critical-css-generator)

#### Testing

- [XPath & CSS Selector Tester](https://testingbot.com/free-online-tools/xpath-css-selector-tester)

[View all tools](https://testingbot.com/free-online-tools)
