Generally speaking, you can use https://testnet.toncenter.com/api/v2/#/accounts/get_address_information_getAddressInformation_get to acquire all formats of a single address.
However, in practice, you can also utilize libraries to generate these. Below are a few snippets of code:
import { mnemonicToPrivateKey } from "ton-crypto";
let mnemonics = "YOUR_MNEMONICS";
let keyPair = await mnemonicToPrivateKey([mnemonics]);
// ✨ 🟡 Test-net:
const client = new TonClient4({
endpoint: "https://sandbox-v4.tonhubapi.com",
});
// Create wallet contract
let workchain = 0; // Usually you need a workchain 0
let wallet = WalletContractV4.create({ workchain, publicKey: keyPair.publicKey });
let wallet_address = client.open(wallet);
let address = wallet_address.address;
Please replace "YOUR_MNEMONICS" with your actual mnemonics.