Topology optimization has revolutionized the design of structures for various applications, particularly with the advancement of additive manufacturing. However, existing open-source codes for topology optimization have limitations, such as restricted domain initialization and lack of a CAD output after optimization. A novel open-source Matlab code, FreeTO, is presented, and it addresses these limitations by enabling the initialization of 3D arbitrary geometries and providing an STL file post-optimization. FreeTO utilizes a structured mesh and a smooth-edge (boundary) algorithm to generate smooth topological boundaries. The code is demonstrated through six practical design cases, showcasing its effectiveness in compliance minimization, compliant mechanisms, and self-supporting problems. FreeTO offers a user-friendly, all-in-one topology optimization package, making it an invaluable tool for educators, researchers, and practitioners. Future developments will focus on eliminating a few geometrical deviations in the optimized topologies, incorporating speedups, and extending the code to apply to more applications.