← All text tools

IAM and S3 Bucket Policy Builder

Pick actions, folders and conditions and get a valid S3 bucket policy or IAM policy as JSON with a plain-English summary of what it allows.

  • Free
  • No sign-up
  • Works on any device

About IAM and S3 Bucket Policy Builder

Builds an AWS S3 bucket policy or an IAM identity policy as valid JSON. Choose who is allowed, a bucket and an optional folder prefix, then a set of actions such as read objects, upload, delete, list or your own list. Add conditions for HTTPS only, source IP ranges, MFA, an organization ID or required encryption. The tool puts object actions on the object ARN and bucket actions on the bucket ARN in separate statements, shows a plain-English summary and warns about public write access. It is a starting point to check, not a security review.

How to use IAM and S3 Bucket Policy Builder

  1. Choose bucket policy or IAM policy, the effect, the principal and the bucket name.
  2. Pick the actions, the optional folder and any conditions you need.
  3. Read the plain-English summary, then copy the JSON into the bucket's permissions or into the IAM console.

Why use this tool?

Also known as

Frequently asked questions

Why are there two ARNs for one bucket?

Object actions such as GetObject apply to objects, written as the bucket ARN plus a slash and star. Bucket actions such as ListBucket apply to the bucket ARN itself. Mixing them in one resource is a common mistake.

Is a policy with Principal * dangerous?

It makes the statement apply to everyone, which is fine for public website files but dangerous with write or delete actions. S3 Block Public Access can still override it, and you should usually leave that on.

What does the HTTPS preset do?

It writes the AWS documented statement that denies every request to the bucket when aws:SecureTransport is false, so data can only be read and written over encrypted connections.

Is IAM and S3 Bucket Policy Builder free?

Yes. IAM and S3 Bucket Policy Builder on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.