Use this tool to generate a random UK postcode. You can (optionally) specify from which country or area the postcode should be.

select country:
select postcode area: